Skip to content

Commit 2207dda

Browse files
committed
Update GCMIntentService.java
1 parent 1092e13 commit 2207dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/com/plugin/gcm/GCMIntentService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected void onMessage(Context context, Intent intent) {
8282
}
8383

8484
// Send a notification if there is a message
85-
if (message && message.length() != 0) {
85+
if (message != null && message.length() != 0) {
8686
createNotification(context, extras);
8787
}
8888
}

0 commit comments

Comments
 (0)