diff options
author | Conley Owens <cco3@android.com> | 2011-06-30 08:22:10 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-06-30 08:22:10 -0700 |
commit | 98395483e4309f7b92348136491575861008b3c0 (patch) | |
tree | 6abc82d3b2d78035c3a1a8f55252e0da9584aad1 /location | |
parent | 842725fc642b7ba2c087cc81796973b838c23c76 (diff) | |
parent | 9f2cbf14f8d79e6ed48ff9d76f6aaede45185418 (diff) | |
download | frameworks_base-98395483e4309f7b92348136491575861008b3c0.zip frameworks_base-98395483e4309f7b92348136491575861008b3c0.tar.gz frameworks_base-98395483e4309f7b92348136491575861008b3c0.tar.bz2 |
am 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
* commit '9f2cbf14f8d79e6ed48ff9d76f6aaede45185418':
Add FLAG_AUTO_CANCEL flag for multiple supl notifications.
Diffstat (limited to 'location')
-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 ffc3346..29dec63 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 |