Android: Refresh Activity from Notification;
When creating the pending intent, one should pass PendingIntent.FLAG_UPDATE_CURRENT as such: PendingIntent contentIntent = PendingIntent.getActivity( context, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT );
When creating the pending intent, one should pass PendingIntent.FLAG_UPDATE_CURRENT as such: PendingIntent contentIntent = PendingIntent.getActivity( context, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT );
No comments:
Post a Comment