summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2024-07-08 10:37:41 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2024-07-09 15:41:16 -0700
commit41cb43322bad9915458a083f019a0929854cf6bf (patch)
tree780e188043a2126386fe3f94b80c45cfc7f6ba15 /libs/androidfw/StringPool.cpp
parentdc15b27957d6c53eb55ba4db278c93d4802538e8 (diff)
Adding click and long-click terminal states.
The ending of the QSLongPressEffect in a click or a long-click can now be identified by two new terminal states. This helps disambiguate the termination states from the IDLE state and avoids any racing conditions from allowing clicks in the IDLE state. Allowing clicks in the IDLE (non-terminal state) enables all clicks performed using the Talkback service. Properly resetting the state is also handled by both the QSTileViewImpl and the QSLongPressEffect. Test: atest SystemUiRoboTests:QSLongPressEffectTest Flag: com.android.systemui.quick_settings_visual_haptics_longpress Bug: 348295719 Change-Id: Ib2eb5c718be866eb3a03cc560190df94da6a7a3f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions