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

Commit b2ff0c01 authored by Bryce Lee's avatar Bryce Lee Committed by android-build-merger
Browse files

Merge "Thaw input dispatching immediately after unfreezing." into pi-dev

am: b2bbf2f1

Change-Id: I79c40a721840f018b3a5a6a861797a3f080f8896
parents dcae0222 b2bbf2f1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5808,6 +5808,7 @@ public class WindowManagerService extends IWindowManager.Stub
        final int displayId = mFrozenDisplayId;
        mFrozenDisplayId = INVALID_DISPLAY;
        mDisplayFrozen = false;
        mInputMonitor.thawInputDispatchingLw();
        mLastDisplayFreezeDuration = (int)(SystemClock.elapsedRealtime() - mDisplayFreezeTime);
        StringBuilder sb = new StringBuilder(128);
        sb.append("Screen frozen for ");
@@ -5854,8 +5855,6 @@ public class WindowManagerService extends IWindowManager.Stub
            updateRotation = true;
        }

        mInputMonitor.thawInputDispatchingLw();

        boolean configChanged;

        // While the display is frozen we don't re-compute the orientation