diff options
| author | 2011-07-13 17:15:32 +0900 | |
|---|---|---|
| committer | 2011-07-15 11:21:41 -0700 | |
| commit | 2e448f75c0392969792032461b2f90017aebba7c (patch) | |
| tree | d107494d50346bb965d2dbd71921c23da5aef01c | |
| parent | fd909a774cb384b139c5e360cadb2681c3f48c29 (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-x | services/java/com/android/server/NotificationManagerService.java | 2 |
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) { |