diff options
Diffstat (limited to 'mobile/android/base/GcmAndroidManifest_services.xml.in')
-rw-r--r-- | mobile/android/base/GcmAndroidManifest_services.xml.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mobile/android/base/GcmAndroidManifest_services.xml.in b/mobile/android/base/GcmAndroidManifest_services.xml.in new file mode 100644 index 000000000..de1c77b3b --- /dev/null +++ b/mobile/android/base/GcmAndroidManifest_services.xml.in @@ -0,0 +1,29 @@ + <!-- Handle GCM registration updates from on-device Google Play Services. --> + <service + android:name="org.mozilla.gecko.gcm.GcmInstanceIDListenerService" + android:exported="false"> + <intent-filter> + <action android:name="com.google.android.gms.iid.InstanceID"/> + </intent-filter> + </service> + + <!-- Provided by on-device Google Play Services. Directs inbound messages to internal listener service. --> + <receiver + android:name="com.google.android.gms.gcm.GcmReceiver" + android:exported="true" + android:permission="com.google.android.c2dm.permission.SEND"> + <intent-filter> + <action android:name="com.google.android.c2dm.intent.RECEIVE" /> + <action android:name="com.google.android.c2dm.intent.REGISTRATION" /> + <category android:name="@ANDROID_PACKAGE_NAME@" /> + </intent-filter> + </receiver> + + <!-- Handle messages directed by the GCM receiver. --> + <service + android:name="org.mozilla.gecko.gcm.GcmMessageListenerService" + android:exported="false"> + <intent-filter> + <action android:name="com.google.android.c2dm.intent.RECEIVE" /> + </intent-filter> + </service> |