fix(notifications/action): remove notification after tapping action
This commit is contained in:
parent
2dc6deb93a
commit
1c38570609
|
@ -104,7 +104,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
|
||||||
|
|
||||||
if ( notificationId >= 0) {
|
if ( notificationId >= 0) {
|
||||||
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
notificationManager.cancel(notificationId);
|
notificationManager.cancel(accountID, notificationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(intent.hasExtra("notification")){
|
if(intent.hasExtra("notification")){
|
||||||
|
|
Loading…
Reference in New Issue