From 2e448f75c0392969792032461b2f90017aebba7c Mon Sep 17 00:00:00 2001 From: "jhtop.kim" Date: Wed, 13 Jul 2011 17:15:32 +0900 Subject: [PATCH] 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 --- .../java/com/android/server/NotificationManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java index 4ecdfed687c3d..5d7a48f491f49 100755 --- a/services/java/com/android/server/NotificationManagerService.java +++ b/services/java/com/android/server/NotificationManagerService.java @@ -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) {