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

Commit dcd79bd6 authored by Randy Pfohl's avatar Randy Pfohl Committed by Android (Google) Code Review
Browse files

Merge "Cleaning up UI jank while quick switching" into tm-qpr-dev

parents 97976bc3 9c5fa66d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -321,9 +321,9 @@ public class RotationTouchHelper implements DisplayInfoChangeListener {
        if (enable && !mInOverview && !TestProtocol.sDisableSensorRotation) {
            // Clear any previous state from sensor manager
            mSensorRotation = mCurrentAppRotation;
            mOrientationListener.enable();
            UI_HELPER_EXECUTOR.execute(mOrientationListener::enable);
        } else {
            mOrientationListener.disable();
            UI_HELPER_EXECUTOR.execute(mOrientationListener::disable);
        }
    }