summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController/src
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2024-02-23 07:40:44 +0000
committer Roy Chou <juchengchou@google.com> 2024-02-23 08:03:33 +0000
commit24852c546d19437fe40d4803dfde32e531f766be (patch)
treed88f852aa10db3452b1a71de709ea75c355b4da5 /tests/SystemUIDemoModeController/src
parent05ef6674c54770e88b815d9e57b80bf599158278 (diff)
fix(magnification): FullScreenMagnificationGestureHandler state decision is ambiguous
In FullScreenMagnificationGestureHandler#DetectingState, when deciding the state transition for MOVE event, there exists some ambiguous logics. If mIsSinglePanningEnabled is true and the event causes overscroll, the handler state will first transit to DelegatingState then transit to PanningState right away, which is not expected. If the condition matches, the expected state should just be the DelegatingState. Threrefore we move the PanningState transition into else block so the transistions will not happen simultaneously. NO_IFTTT=checked Bug: 319537921 Flag: NA Test: manually atest FullScreenMagnificationGestureHandlerTest Change-Id: I0157ddd4117ff4048c3bc44e614cb73c7425dd3f
Diffstat (limited to 'tests/SystemUIDemoModeController/src')
0 files changed, 0 insertions, 0 deletions