Commit 2ee858f6 authored by Bob Easterday's avatar Bob Easterday
Browse files

Always refresh the content Intent on new notifications.

parent a3dc402d
Loading
Loading
Loading
Loading
+1 −1
Changes for src/android/com/google/android/gcm/GCMIntentService.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ public class GCMIntentService extends GCMBaseIntentService {
		notificationIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP);
		notificationIntent.putExtra("pushBundle", extras);
		
		PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);		
		PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT);		

		NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context)
		.setSmallIcon(context.getApplicationInfo().icon)