mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
61fa23ab3a8317dd97f6032f753171fcabe79a0d
We were setting mGestureState = DEFAULT_STATE when touching outside of the swipe region. Instead, we should only set mGestureState when starting a new gesture, and only set it to DEFAULT_STATE on reset. This also makes it clearer that mGestureState always refers to the current gesture state, rather than sometimes being the current gesture and sometimes being the previous gesture depending on where it was used. Now previousGestureState is passed when needed. Bug: 159494933 Change-Id: Ib62278b7c591ca4c6b99b26e058a34772e6cec2a
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%