Fix notification manager delete intent.
Notification manager was sending the delete intent even when the notification was clicked and not just when cleared. Change-Id: I9f8ae973b7972bc34cd15d213e58a961138fa7e5 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
This commit is contained in:
committed by
Jaikumar Ganesh
parent
fd909a774c
commit
2e448f75c0
@@ -262,7 +262,7 @@ public class NotificationManagerService extends INotificationManager.Stub
|
||||
|
||||
public void onNotificationClick(String pkg, String tag, int id) {
|
||||
cancelNotification(pkg, tag, id, Notification.FLAG_AUTO_CANCEL,
|
||||
Notification.FLAG_FOREGROUND_SERVICE, true);
|
||||
Notification.FLAG_FOREGROUND_SERVICE, false);
|
||||
}
|
||||
|
||||
public void onNotificationClear(String pkg, String tag, int id) {
|
||||
|
||||
Reference in New Issue
Block a user