summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2010-12-06 11:29:17 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2010-12-06 11:29:17 -0800
commita2e13392412d5094e49ea0053599477401d1a67e (patch)
tree62327e8bd3ac7ae7333d596ca5fda137e1abb0a5 /services
parent384977fceaba842fd4a5f64111a2266c9e61dba5 (diff)
downloadframeworks_base-a2e13392412d5094e49ea0053599477401d1a67e.zip
frameworks_base-a2e13392412d5094e49ea0053599477401d1a67e.tar.gz
frameworks_base-a2e13392412d5094e49ea0053599477401d1a67e.tar.bz2
Make Proxy change broadcast sticky
Makes it easier for apps who care. Includes the current values. Change-Id: I5f1d3589a036ebc9910281f97d4780ecda2829f2
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/ConnectivityService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java
index 43c857a..f1fce3e 100644
--- a/services/java/com/android/server/ConnectivityService.java
+++ b/services/java/com/android/server/ConnectivityService.java
@@ -2163,7 +2163,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
intent.putExtra(Proxy.EXTRA_PROXY_INFO, proxy);
- mContext.sendBroadcast(intent);
+ mContext.sendStickyBroadcast(intent);
}
private static class SettingsObserver extends ContentObserver {