summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author jhtop.kim <jhtop.kim@samsung.com> 2011-07-13 17:15:32 +0900
committer Jaikumar Ganesh <jaikumar@google.com> 2011-07-15 11:21:41 -0700
commit2e448f75c0392969792032461b2f90017aebba7c (patch)
treed107494d50346bb965d2dbd71921c23da5aef01c
parentfd909a774cb384b139c5e360cadb2681c3f48c29 (diff)
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>
-rwxr-xr-xservices/java/com/android/server/NotificationManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/NotificationManagerService.java b/services/java/com/android/server/NotificationManagerService.java
index 4ecdfed687c3..5d7a48f491f4 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) {