mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Cleaning up UI jank while quick switching" into tm-qpr-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user