Loading src/android/com/plugin/gcm/GCMIntentService.java +2 −2 Changes for src/android/com/plugin/gcm/GCMIntentService.java: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -69,8 +69,8 @@ public class GCMIntentService extends GCMBaseIntentService { { PushPlugin.sendExtras(extras); // Send a notification if there is a message and not in foreground if (!PushPlugin.isInForeground() && extras.getString("message").length() != 0) { // Send a notification if there is a message if (extras.getString("message").length() != 0) { createNotification(context, extras); } } Loading src/android/com/plugin/gcm/PushPlugin.java +0 −1 Changes for src/android/com/plugin/gcm/PushPlugin.java: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -234,7 +234,6 @@ public class PushPlugin extends CordovaPlugin { GCMRegistrar.onDestroy(getApplicationContext()); gWebView = null; gECB = null; gForeground = false; super.onDestroy(); } } Loading
src/android/com/plugin/gcm/GCMIntentService.java +2 −2 Changes for src/android/com/plugin/gcm/GCMIntentService.java: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -69,8 +69,8 @@ public class GCMIntentService extends GCMBaseIntentService { { PushPlugin.sendExtras(extras); // Send a notification if there is a message and not in foreground if (!PushPlugin.isInForeground() && extras.getString("message").length() != 0) { // Send a notification if there is a message if (extras.getString("message").length() != 0) { createNotification(context, extras); } } Loading
src/android/com/plugin/gcm/PushPlugin.java +0 −1 Changes for src/android/com/plugin/gcm/PushPlugin.java: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -234,7 +234,6 @@ public class PushPlugin extends CordovaPlugin { GCMRegistrar.onDestroy(getApplicationContext()); gWebView = null; gECB = null; gForeground = false; super.onDestroy(); } }