gecko-dev/mobile/android/base/GcmAndroidManifest_services.xml.in
Nick Alexander 5054422809 Bug 1207714 - Part 1: Register no-op GCM message listeners. r=rnewman
MozReview-Commit-ID: 4n7IcTuGQVE

--HG--
extra : rebase_source : 74dd6ab391fcd67dfcd2d5794edfad327e72b76e
extra : histedit_source : 2a4f2aeab28b7a5eb793ecdfecd572a33b034a72
2016-03-02 15:45:24 -08:00

30 lines
1.3 KiB
XML

<!-- 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>