summaryrefslogtreecommitdiff
path: root/mobile/android/base/GcmAndroidManifest_services.xml.in
blob: de1c77b3be0000298e449745dae3fb57e0f229d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>