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

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

QS long-press effect without coroutines and touch listeners

Setting a touch listener in the QS long-press effect has been a source
of regression. In addition, small increases in the main thread work
during the required input event handling have created other
regressions. This change aims to write the long-press effect in the most
minimal way possible. Here, we only spy on touch events on the tile view
and remove the overhead of coroutine continuations by adding a callback
mechanism.

Test: atest SystemUITests:QSTileViewImplTest
Test: atest SystemUiRobotTests:QSLongPressEffectTest
Bug: 345363816
Flag: com.android.systemui.quick_settings_visual_haptics_longpress
Change-Id: Ic00f25597af977f7d94cf4248c1456d36ac7b69c
parent 68291550
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