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

Commit 54bd3a6d 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

am: b2ff0c01

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


        mInputMonitor.thawInputDispatchingLw();

        boolean configChanged;
        boolean configChanged;


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