summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-06-30 08:11:25 -0700
committerAndroid Code Review <code-review@android.com>2011-06-30 08:11:25 -0700
commite06749e14c1fb2d78540cba9548ee3b4b7b3b1d9 (patch)
treea855c4ee34e714a3f00d4ecd7f5ca74b37b50512
parent4fea5373d350f5d855408ffaa41206b8fa743c55 (diff)
parentfad5445c66ca6190ad37515018996c61d9b2b0a5 (diff)
downloadframeworks_base-e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9.zip
frameworks_base-e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9.tar.gz
frameworks_base-e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9.tar.bz2
Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
-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