|
1 <provider android:name="org.mozilla.gecko.background.healthreport.HealthReportProvider" |
|
2 android:authorities="@ANDROID_PACKAGE_NAME@.health" |
|
3 android:permission="@ANDROID_PACKAGE_NAME@.permissions.HEALTH_PROVIDER"> |
|
4 </provider> |
|
5 |
|
6 <!-- BroadcastReceiver is a thin receiver whose purpose is to |
|
7 start the background service in response to external events, |
|
8 some sent by the system and some particular to Health Report. |
|
9 --> |
|
10 <receiver android:name="org.mozilla.gecko.background.healthreport.HealthReportBroadcastReceiver" > |
|
11 <intent-filter> |
|
12 <!-- Startup. --> |
|
13 <action android:name="android.intent.action.BOOT_COMPLETED" /> |
|
14 </intent-filter> |
|
15 <intent-filter> |
|
16 <!-- SD card remounted. --> |
|
17 <action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" /> |
|
18 </intent-filter> |
|
19 <intent-filter > |
|
20 <!-- Toggle Health Report upload service alarm (based on preferences value) --> |
|
21 <action android:name="@ANDROID_PACKAGE_NAME@.HEALTHREPORT_UPLOAD_PREF" /> |
|
22 </intent-filter> |
|
23 <intent-filter > |
|
24 <!-- Enable Health Report prune service alarm --> |
|
25 <action android:name="@ANDROID_PACKAGE_NAME@.HEALTHREPORT_PRUNE" /> |
|
26 </intent-filter> |
|
27 </receiver> |