[PT15] Tiny bugfix in setGlobalProxy

This bug has existed for a long time. If mDefaultProxyEnabled is
false, then the mDefaultProxy member should obviously not be used
in the broadcast.

Test: runtest
Change-Id: I599a2ff9f96d4667e824cf000c2125f86010bb02
This commit is contained in:
Chalard Jean
2018-06-08 19:45:27 +09:00
parent 1836a63e92
commit 0d21a064a6

View File

@@ -269,7 +269,7 @@ public class ProxyTracker {
Binder.restoreCallingIdentity(token); Binder.restoreCallingIdentity(token);
} }
sendProxyBroadcast(mGlobalProxy == null ? mDefaultProxy : proxyInfo); sendProxyBroadcast(getDefaultProxy());
} }
} }