+32
−16
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The touch listener for long-press effects in QS tiles is removed. An investgation showed that this was the cause of the regression that this CL aims to fix. With the listener removed, the tile view is left to handle its own touch events and call the onTouchEvent method of the View to allow the click and long-click detection logic to run. The QSLongPressEffect class is now modified to act according to the detection of clicks by the View, the triggering of long-clicks, and the necessary tap timeout wait (as a new action in the Flow of actions). Test: atest SystemUITests:QSTileViewImplTest Test: atest SystemUiRobotTests:QSLongPressEffectTest Bug: 341890266 Flag: com.android.systemui.quick_settings_visual_haptics_longpress Change-Id: Iac48d6563be4e7442deb891c0be61551ac125670