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

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

Allowing clicks that can occur during the long-press effect.

The long-press effect now respects the detection of taps/clicks when an
ACTION_UP occurs during the animation of the long-press. This is more
consistent with the older behavior of the tiles, where clicks could
occur regardless of the time between the ACTION_DOWN and ACTION_UP
events. This solves the problem of inconsistent tap detections compared
to the previous behavior. For a graceful transition, the clicks are
performed after the long-press effect has finished reversing.

Test: atest SystemUIRoboTests:QSLongPressEffectTest
Flag: com.android.systemui.quick_settings_visual_haptics_longpress
Bug: 342831659
Change-Id: I4ce853a8d9113bc9be3789b7ad5bfd80b7a51120
parent c7529cb8
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