Skip to content

Commit

Permalink
Merge pull request #1 from FlorentFlament/requestCode-updt
Browse files Browse the repository at this point in the history
Update getBroadcast requestCode to match tag
  • Loading branch information
DrMoriarty committed Jun 13, 2019
2 parents 0f88a42 + 8796574 commit 879ee2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localnotification/android/src/GodotLocalNotification.java
Expand Up @@ -68,7 +68,7 @@ private PendingIntent getPendingIntent(String message, String title, int tag) {
i.putExtra("notification_id", tag);
i.putExtra("message", message);
i.putExtra("title", title);
PendingIntent sender = PendingIntent.getBroadcast(activity, 0, i, PendingIntent.FLAG_UPDATE_CURRENT);
PendingIntent sender = PendingIntent.getBroadcast(activity, tag, i, PendingIntent.FLAG_UPDATE_CURRENT);
return sender;
}

Expand Down

0 comments on commit 879ee2b

Please sign in to comment.