+40
−18
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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