diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/stumbler/manifests | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/stumbler/manifests')
-rw-r--r-- | mobile/android/stumbler/manifests/StumblerManifest_services.xml.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mobile/android/stumbler/manifests/StumblerManifest_services.xml.in b/mobile/android/stumbler/manifests/StumblerManifest_services.xml.in new file mode 100644 index 000000000..400863187 --- /dev/null +++ b/mobile/android/stumbler/manifests/StumblerManifest_services.xml.in @@ -0,0 +1,32 @@ +<service + android:name="org.mozilla.mozstumbler.service.stumblerthread.StumblerService" + android:label="stumbler"> +</service> + +<receiver android:name="org.mozilla.mozstumbler.service.uploadthread.UploadAlarmReceiver" /> +<service android:name="org.mozilla.mozstumbler.service.uploadthread.UploadAlarmReceiver$UploadAlarmService" /> + +<!-- How Fennec and Stumbler interact: +- On start, Fennec broadcasts an empty STUMBLER_REGISTER_LOCAL_LISTENER intent, indicating that Stumbler should + start listening for a locally-broadcast Stumbler preferences. +- In response, Stumbler's SafeReceiver registers LocalPreferenceReceiver to listen for broadcasts + sent over LocalBroadcastManager which contain sensitive information. +- This registration happens only once, and SafeReceiver can't unregister the listener. +- LocalPreferenceReceiver responds to internal broadcasts with sensitive information, + and is able to start/stop StumblerService. +- Fennec startup (if stumbling is enabled) or Fennec stumbling preference adjustment will trigger + a local preference intent, and Stumbler's internal state will be adjusted via LocalPreferenceReceiver. +--> +<receiver android:exported="false" android:name="org.mozilla.mozstumbler.service.mainthread.SafeReceiver"> + <intent-filter> + <action android:name="org.mozilla.gecko.STUMBLER_REGISTER_LOCAL_LISTENER" /> + </intent-filter> +</receiver> + +<receiver android:exported="true" android:name="org.mozilla.mozstumbler.service.mainthread.SystemReceiver"> + <intent-filter> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + <action android:name="android.intent.action.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE" /> + </intent-filter> +</receiver> + |