Revert "2/ Resolve gesture one handed conflicts swipe up recents"
This reverts commit789aa86617. Reason for revert: for clarify b/186197537 Change-Id: Ia921d073c2ad4e427c5436370313c2095f2adea8 (cherry picked from commitd7b6a429cd)
This commit is contained in:
committed by
android-build-team Robot
parent
5c8bf96827
commit
97eb2d3cc0
@@ -515,8 +515,7 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
}
|
||||
mRotationTouchHelper.setOrientationTransformIfNeeded(event);
|
||||
|
||||
if (!mDeviceState.isOneHandedModeActive()
|
||||
&& mRotationTouchHelper.isInSwipeUpTouchRegion(event)) {
|
||||
if (mRotationTouchHelper.isInSwipeUpTouchRegion(event)) {
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME,
|
||||
"TouchInteractionService.onInputEvent:isInSwipeUpTouchRegion");
|
||||
@@ -545,7 +544,8 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
InputConsumer.NO_OP, mInputMonitorCompat,
|
||||
mDeviceState,
|
||||
event);
|
||||
} else if (mDeviceState.canTriggerOneHandedAction(event)) {
|
||||
} else if (mDeviceState.canTriggerOneHandedAction(event)
|
||||
&& !mDeviceState.isOneHandedModeActive()) {
|
||||
// Consume gesture event for triggering one handed feature.
|
||||
mUncheckedConsumer = new OneHandedModeInputConsumer(this, mDeviceState,
|
||||
InputConsumer.NO_OP, mInputMonitorCompat);
|
||||
|
||||
Reference in New Issue
Block a user