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

Commit d486375c authored by Kristian Monsen's avatar Kristian Monsen Committed by Android (Google) Code Review
Browse files

Merge "Only store Application context"

parents 113ec8d4 6b91b45e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ class JniUtil {
        if (initialized)
            return;

        sContext = context;
        sContext = context.getApplicationContext();
        initialized = true;
    }

+1 −1
Original line number Diff line number Diff line
@@ -1005,7 +1005,7 @@ public class WebView extends AbsoluteLayout
    private static void setupProxyListener(Context context) {
        IntentFilter filter = new IntentFilter();
        filter.addAction(Proxy.PROXY_CHANGE_ACTION);
        Intent currentProxy = context.registerReceiver(new ProxyReceiver(), filter);
        Intent currentProxy = context.getApplicationContext().registerReceiver(new ProxyReceiver(), filter);
        if (currentProxy != null) {
            handleProxyBroadcast(currentProxy);
        }