EnhancedIntentService warning On Incoming Notifications

荒凉一梦 提交于 2019-12-10 04:35:12

问题


I have been getting two errors in my log once a notification is received

EnhancedIntentService: Service took too long to process intent: com.google.android.c2dm.intent.RECEIVE App may get closed

EnhancedIntentService: binding to the service failed

There is NOTHING on Google of either of these messages or even EnhancedIntentService.

Relevant code:

    <service
        android:name="---.GcmMCIntentService"
        android:exported="false" >
        <intent-filter android:priority="10">
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        </intent-filter>
    </service>

   <service
        android:name="---.GCMInstanceIDListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.gms.iid.InstanceID" />
        </intent-filter>
    </service>


    <service android:name="---.GCMRegIntentService"
             android:exported="false" >
        <intent-filter android:priority="5">
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        </intent-filter>
    </service>

This is on a 8.0 emulator. Play Services 11.4.2 Let me know if I can show any other code. I just find it curious there is nothing on these error messages at all on S.O. or Google.

来源:https://stackoverflow.com/questions/46720901/enhancedintentservice-warning-on-incoming-notifications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!