Merge "Revert^2 "Set setCurrentProxyScriptUrl as public"" am: 5aec9c87e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1542625 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I97d232b365e868b1533d0600778f7dbb823a4d2a
This commit is contained in:
@@ -177,7 +177,7 @@ public class PacManager {
|
||||
* @param proxy Proxy information that is about to be broadcast.
|
||||
* @return Returns whether the broadcast should be sent : either DO_ or DONT_SEND_BROADCAST
|
||||
*/
|
||||
synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) {
|
||||
public synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) {
|
||||
if (!Uri.EMPTY.equals(proxy.getPacFileUrl())) {
|
||||
if (proxy.getPacFileUrl().equals(mPacUrl) && (proxy.getPort() > 0)) {
|
||||
// Allow to send broadcast, nothing to do.
|
||||
|
||||
Reference in New Issue
Block a user