Skip to content

Commit

Permalink
Update GCMIntentService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenstolk committed Aug 4, 2015
1 parent 1092e13 commit 2207dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/com/plugin/gcm/GCMIntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected void onMessage(Context context, Intent intent) {
}

// Send a notification if there is a message
if (message && message.length() != 0) {
if (message != null && message.length() != 0) {
createNotification(context, extras);
}
}
Expand Down

0 comments on commit 2207dda

Please sign in to comment.