fix(notifications/action): remove notification after tapping action
This commit is contained in:
@@ -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")){
|
||||||
|
|||||||
Reference in New Issue
Block a user