Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 41cb4332 authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

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
parent dc15b279
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment