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
This commit is contained in:
@@ -2618,7 +2618,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
}
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user