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

Commit b2bbf2f1 authored by Bryce Lee's avatar Bryce Lee Committed by Android (Google) Code Review
Browse files

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

parents 00f4a4bc 51839b93
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