Fix unable to swipe up to exit one-handed mode under
2 button navigation Remove redundant condition checking when consuming One-handed mode gesture events. Bug: 193761450 Test: manual Test: atest WMShellUnitTests Change-Id: Id4687cb579c17d7de1a08b32c003e656cbbce820
This commit is contained in:
parent
b68f4cdb0b
commit
edc7917521
|
@ -564,8 +564,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
|||
} else {
|
||||
mUncheckedConsumer = InputConsumer.NO_OP;
|
||||
}
|
||||
} else if (mDeviceState.canTriggerOneHandedAction(event)
|
||||
&& !mDeviceState.isOneHandedModeActive()) {
|
||||
} else if (mDeviceState.canTriggerOneHandedAction(event)) {
|
||||
// Consume gesture event for triggering one handed feature.
|
||||
mUncheckedConsumer = new OneHandedModeInputConsumer(this, mDeviceState,
|
||||
InputConsumer.NO_OP, mInputMonitorCompat);
|
||||
|
|
Loading…
Reference in New Issue