Skip to content

Commit

Permalink
Fix contitional judgment for gcm_sender_id value (#224)
Browse files Browse the repository at this point in the history
I think "com.parse.push.gcm_sender_id" value should be start with "id:".
  • Loading branch information
noughts authored and richardjrossiii committed Jul 28, 2016
1 parent 4b25541 commit 5fc0a7e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -89,7 +89,7 @@ private String getGcmSenderId() {
}

String senderId = (String)senderIdExtra;
if (senderId.startsWith("id:")) {
if (!senderId.startsWith("id:")) {
Log.e(TAG, "Found " + EXTRA_SENDER_ID + " <meta-data> element with value \"" +
senderIdExtra.toString() + "\", but the value is missing the expected \"id:\" " +
"prefix.");
Expand Down

0 comments on commit 5fc0a7e

Please sign in to comment.