Make sure the ProxyProperties is always present.
Lets people know that it's non-null, though the InetAddr inside may be. bug:3305689 Change-Id: I0fe16a9ef1feba987680c419fa2dc0e00e400d91
This commit is contained in:
parent
8ca8876c68
commit
611291c8ef
1 changed files with 1 additions and 0 deletions
|
|
@ -2154,6 +2154,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
}
|
||||
|
||||
private void sendProxyBroadcast(ProxyProperties proxy) {
|
||||
if (proxy == null) proxy = new ProxyProperties("", 0, "");
|
||||
log("sending Proxy Broadcast for " + proxy);
|
||||
Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
|
||||
|
|
|
|||
Loading…
Reference in a new issue