Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Issue #90: Same data payload for messages with action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Aug 31, 2015
1 parent ba80278 commit a43049c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/com/adobe/phonegap/push/GCMIntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private void createActions(Bundle extras, NotificationCompat.Builder mBuilder, R
Intent intent = new Intent(this, PushHandlerActivity.class);
intent.putExtra("callback", action.getString("callback"));
intent.putExtra("pushBundle", extras);
PendingIntent pIntent = PendingIntent.getActivity(this, i, intent, 0);
PendingIntent pIntent = PendingIntent.getActivity(this, i, intent, PendingIntent.FLAG_UPDATE_CURRENT);

mBuilder.addAction(resources.getIdentifier(action.getString("icon"), "drawable", packageName),
action.getString("title"), pIntent);
Expand Down

0 comments on commit a43049c

Please sign in to comment.