Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d284531 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Automerger Merge Worker
Browse files

Set setCurrentProxyScriptUrl as public am: 26dbdc85 am: c5939ce4

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540913

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If93a3c5a9145ac8993f5ee153a87018eed67502b
parents 6e82c529 c5939ce4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.