mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
Fixed crashes in one-handed support check
This commit is contained in:
@@ -154,7 +154,7 @@ public class RecentsAnimationDeviceState implements DisplayInfoChangeListener, E
|
||||
mDisplayController = DisplayController.INSTANCE.get(context);
|
||||
mExclusionManager = exclusionManager;
|
||||
mAssistStateManager = AssistStateManager.INSTANCE.get(context);
|
||||
mIsOneHandedModeSupported = SystemProperties.getBoolean(SUPPORT_ONE_HANDED_MODE, false);
|
||||
mIsOneHandedModeSupported = LawnchairApp.isRecentsEnabled() && SystemProperties.getBoolean(SUPPORT_ONE_HANDED_MODE, false);
|
||||
mRotationTouchHelper = RotationTouchHelper.INSTANCE.get(context);
|
||||
if (isInstanceForTouches) {
|
||||
// rotationTouchHelper doesn't get initialized after being destroyed, so only
|
||||
|
||||
Reference in New Issue
Block a user