Make sure the ProxyProperties is always present. am: 611291c8ef

Original change: undetermined

Change-Id: I7fb23bcda66c09437c40b21bc58cf2b2e9e9d8fd
This commit is contained in:
Robert Greenwalt
2021-05-31 04:07:06 +00:00
committed by Automerger Merge Worker

View File

@@ -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);