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

Commit 039ceed4 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Create SurfaceSession before creating DimLayer."

parents c3a1914b dee8bf0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -733,6 +733,7 @@ public class WindowManagerService extends IWindowManager.Stub

        mPointerEventDispatcher = new PointerEventDispatcher(mInputManager.monitorInput(TAG));

        mFxSession = new SurfaceSession();
        mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE);
        mDisplayManager.registerDisplayListener(this, null);
        Display[] displays = mDisplayManager.getDisplays();
@@ -779,7 +780,6 @@ public class WindowManagerService extends IWindowManager.Stub
                | PowerManager.ON_AFTER_RELEASE, TAG);
        mHoldingScreenWakeLock.setReferenceCounted(false);

        mFxSession = new SurfaceSession();
        mAnimator = new WindowAnimator(this);

        initPolicy(UiThread.getHandler());