commit | 0e09082559885528a37e48ab0a865ac6754d2fd5 | [log] [tgz] |
---|---|---|
author | Robert Greenwalt <rgreenwalt@google.com> | Wed Sep 21 16:37:34 2011 -0700 |
committer | Robert Greenwalt <rgreenwalt@google.com> | Wed Sep 21 16:37:34 2011 -0700 |
tree | be18fdf8de8c675ff17c42d0674fca12c0529ddf | |
parent | 22aa7805dd0d9bf1c31b5cff526fda793477d8a7 [diff] [blame] |
Notify people of empty proxies too. We were telling people when the proxy changed, except if it was changed to null. bug:5263946 Change-Id: I83416dac8fe992168a8aafd5676f9faee4e484d0
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java index 23fab72..e28c715 100644 --- a/services/java/com/android/server/ConnectivityService.java +++ b/services/java/com/android/server/ConnectivityService.java
@@ -2618,7 +2618,8 @@ } } if (VDBG) log("changing default proxy to " + proxy); - if ((proxy == null && mGlobalProxy == null) || proxy.equals(mGlobalProxy)) return; + + // global trumps default, if set, ignore this. if (mGlobalProxy != null) return; sendProxyBroadcast(proxy); }