[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:
@@ -269,7 +269,7 @@ public class ProxyTracker {
|
|||||||
Binder.restoreCallingIdentity(token);
|
Binder.restoreCallingIdentity(token);
|
||||||
}
|
}
|
||||||
|
|
||||||
sendProxyBroadcast(mGlobalProxy == null ? mDefaultProxy : proxyInfo);
|
sendProxyBroadcast(getDefaultProxy());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user