Skip to content Skip to sidebar Skip to footer

How To Remove An Unused Gcmtaskservice Service?

I have this code GcmTaskService service code that check internet is ok to push some data online : public class NetworkChangeService extends GcmTaskService { public static String T

Solution 1:

Try cancelling all tasks related to that service and see what happens:

GcmNetworkManager.getInstance(this)
    .cancelAllTasks(NetworkChangeService.class)

On the other hand, OneoffTask do not support to be persisted across reboots.

Post a Comment for "How To Remove An Unused Gcmtaskservice Service?"