summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Conley Owens <cco3@android.com> 2011-06-30 08:19:00 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-06-30 08:19:00 -0700
commit9f2cbf14f8d79e6ed48ff9d76f6aaede45185418 (patch)
treee05138462d96896138f81d4450f4242b8e567100
parent99c070d8eb9f1ff9ea5c38991f15f091040226c2 (diff)
parente06749e14c1fb2d78540cba9548ee3b4b7b3b1d9 (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-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 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