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

Commit 534d4a9d authored by Chalard Jean's avatar Chalard Jean
Browse files

[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
parent 19aa80f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ public class ProxyTracker {
                Binder.restoreCallingIdentity(token);
            }

            sendProxyBroadcast(mGlobalProxy == null ? mDefaultProxy : proxyInfo);
            sendProxyBroadcast(getDefaultProxy());
        }
    }