bf250af771335861f2b67c8ea1daacc6b1497f06
In the previous version, GesturesObserver#clear would be called by
MagnificationGesturesObserver, making the matchers' state be clear by
outside class. It would make the matchers' state not consistency in
GesturesObserver#onMotionEvent. Especially, when the matcher is
completed and becomes STATE_GESTURE_COMPLETED, it would be clear as
STATE_CLEAR by MagnificationGesturesObserver#clear which would trigger
GesturesObserver#clear. It would make the GesturesObserver keep going to
check other matchers since matcher.getState() !=
GestureMatcher.STATE_GESTURE_COMPLETED and wouldn't early return.
Therefore, we make GesturesObserver#clear as a private method and make
it to manager its matchers' state.
Bug: 206061247
Test: atest GesturesObserverTest
atest MagnificationGesturesObserverTest
atest MagnificationGestureHandlerTest
atest WindowMagnificationGestureHandlerTest
Change-Id: I19294e231f969d7dd54b50dc9a2deb36d06b532a
…
Merge "Revert "Disable pointer authentication in app processes."" am:
b9fc2910ca am: a236c37517 am: 95dc32f484
…
…
…
…
Merge "Curve 25519: Support use via Android Keystore provider (part 1)" am:
bab26cc607 am: 050d61f1b3 am: 8249f4a893
…
…
…
…
…
…
…
…
…
…
…
Merge "Tweak linux_glibc properties for musl builds in frameworks/base" am:
ee415b6dd4 am: 0465454af5 am: 8927c1f94e
…
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%