From 1092e136fa43182c0205b9c89eaf08ca0afb22b0 Mon Sep 17 00:00:00 2001 From: Ruben Stolk Date: Tue, 4 Aug 2015 18:45:54 +0530 Subject: [PATCH] Update GCMIntentService.java --- src/android/com/plugin/gcm/GCMIntentService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/com/plugin/gcm/GCMIntentService.java b/src/android/com/plugin/gcm/GCMIntentService.java index 9ee811ee..cd95a621 100644 --- a/src/android/com/plugin/gcm/GCMIntentService.java +++ b/src/android/com/plugin/gcm/GCMIntentService.java @@ -72,7 +72,7 @@ protected void onMessage(Context context, Intent intent) { extras.putBoolean("foreground", false); String message = extras.getString("message"); - if (message === null) { + if (message == null) { // Providers like Parse always send a 'data' as root object, so "Parse" that try { JSONObject object_example = new JSONObject(extras.getString("data"));