Commit fb22a698 authored by scotthooker's avatar scotthooker
Browse files

this is the best case

We should always send a notification this is better than never sending one
parent a6d96689
Loading
Loading
Loading
Loading
+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
@@ -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);
			}
		}