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

Skip to content
Commit 13f1af41 authored by Jean Chen's avatar Jean Chen
Browse files

fix(MultiFingerMultiTap): Two-Finger triple tap while zoomed in doesn't zoom...

fix(MultiFingerMultiTap): Two-Finger triple tap while zoomed in doesn't zoom out full screen magnification

The root cause lies in the state transitioning to another state before the multi-finger multi-tap gesture is completed.
After test, we still need to implement a delay to determine whether the gesture is a single tap or a multi-tap. If it is a multi-tap, the ACTION_UP event will interrupt the magnification transition to the panning state. Otherwise, we need to interrupt the magnification transition to the delegating state in ACTION_MOVE to ensure the reachability of the two-finger triple tap (triggerable with ACTION_UP)

NO_IFTTT=add the multi-finger multi-tap feature without syncing to the old state

Bug: 315225078
Test: manual
Test: atest FullScreenMagnificationGestureHandlerTest
Change-Id: Ic6176857baf3f006b26b7737a913efe69b7e061f
parent a9aedbf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment