summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/LocationManagerService.java
diff options
context:
space:
mode:
authorTom O'Neill <tomo@google.com>2013-09-03 18:05:13 -0700
committerTom O'Neill <tomo@google.com>2013-09-03 18:07:10 -0700
commit40a86c24d2601df4966c57573a5bf58b30a41990 (patch)
treea34b94d308b15723986736c4f1b096b61e2a4267 /services/java/com/android/server/LocationManagerService.java
parentd0e2a2e7a9a6c247f501a5044d1c19cd82c6129d (diff)
Add LocationManager.MODE_CHANGED_ACTION broadcast
- Currently redundant with PROVIDERS_CHANGED_ACTION, but that may change in the future - Part of fix for b/10409275 Change-Id: I12daaf20e6546fd9e9dc71c599967fa0ad95e27f
Diffstat (limited to 'services/java/com/android/server/LocationManagerService.java')
-rw-r--r--services/java/com/android/server/LocationManagerService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/java/com/android/server/LocationManagerService.java b/services/java/com/android/server/LocationManagerService.java
index 95c768fe5327..de29155a8f95 100644
--- a/services/java/com/android/server/LocationManagerService.java
+++ b/services/java/com/android/server/LocationManagerService.java
@@ -1156,6 +1156,8 @@ public class LocationManagerService extends ILocationManager.Stub {
if (changesMade) {
mContext.sendBroadcastAsUser(new Intent(LocationManager.PROVIDERS_CHANGED_ACTION),
UserHandle.ALL);
+ mContext.sendBroadcastAsUser(new Intent(LocationManager.MODE_CHANGED_ACTION),
+ UserHandle.ALL);
}
}