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

Commit 73ae078a authored by Patrick Scott's avatar Patrick Scott Committed by Android (Google) Code Review
Browse files

Merge "Use the app context to avoid a memory leak."

parents 7f3d515f 624051aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ class BrowserFrame extends Handler {

        if (sConfigCallback == null) {
            sConfigCallback = new ConfigCallback(
                    (WindowManager) context.getSystemService(
                    (WindowManager) appContext.getSystemService(
                            Context.WINDOW_SERVICE));
            ViewRoot.addConfigCallback(sConfigCallback);
        }