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:
jhtop.kim
2011-07-13 17:15:32 +09:00
committed by Jaikumar Ganesh
parent fd909a774c
commit 2e448f75c0

View File

@@ -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) {