diff options
| author | 2011-06-30 08:19:00 -0700 | |
|---|---|---|
| committer | 2011-06-30 08:19:00 -0700 | |
| commit | 9f2cbf14f8d79e6ed48ff9d76f6aaede45185418 (patch) | |
| tree | e05138462d96896138f81d4450f4242b8e567100 | |
| parent | 99c070d8eb9f1ff9ea5c38991f15f091040226c2 (diff) | |
| parent | e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9 (diff) | |
am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
* commit 'e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9':
Add FLAG_AUTO_CANCEL flag for multiple supl notifications.
| -rwxr-xr-x | location/java/com/android/internal/location/GpsNetInitiatedHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java index ffc3346da993..29dec6373b19 100755 --- a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java +++ b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java @@ -205,7 +205,7 @@ public class GpsNetInitiatedHandler { mNiNotification.defaults &= ~Notification.DEFAULT_SOUND; } - mNiNotification.flags = Notification.FLAG_ONGOING_EVENT; + mNiNotification.flags = Notification.FLAG_ONGOING_EVENT | Notification.FLAG_AUTO_CANCEL; mNiNotification.tickerText = getNotifTicker(notif, mContext); // if not to popup dialog immediately, pending intent will open the dialog |