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

Commit 624051aa authored by Patrick Scott's avatar Patrick Scott
Browse files

Use the app context to avoid a memory leak.

Bug: 3288583
Change-Id: Id259a0148c06f6e98b94c07e5d2e2296c6aef65a
parent 2cdee233
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);
        }