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
Loading
Please register or sign in to comment