summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-06-30 08:25:13 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-30 08:25:13 -0700
commite0009bb0b700dcfeba3ff77f8c33113499674432 (patch)
tree3f99fd3784efc458c5d0cc49fe332c20adaa71cd /location
parent0562efd1ea970ded01b1b47bbce790a269a60c45 (diff)
parent98395483e4309f7b92348136491575861008b3c0 (diff)
downloadframeworks_base-e0009bb0b700dcfeba3ff77f8c33113499674432.zip
frameworks_base-e0009bb0b700dcfeba3ff77f8c33113499674432.tar.gz
frameworks_base-e0009bb0b700dcfeba3ff77f8c33113499674432.tar.bz2
am 98395483: am 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
* commit '98395483e4309f7b92348136491575861008b3c0': Add FLAG_AUTO_CANCEL flag for multiple supl notifications.
Diffstat (limited to 'location')
-rwxr-xr-xlocation/java/com/android/internal/location/GpsNetInitiatedHandler.java2
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