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

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

Optimizing the QSLongPressEffect

StateFlows in the QSLongPressEffect need to emit and be collected on the
main thread to avoid thread-switching and preventing jank. Therefore,
the need for a background scope has been removed. In terms of
testability, the concern of setting touch listeners has been delegated
to the QSLongPressEffectViewBinder

Test: SystemUITests:QSTileViewImplTest
Test: SystemUiRobotTests:QSLongPressEffectTest
Bug: 332903800
Flag: ACONFIG quick_settings_visual_haptics_longpress TEAMFOOD
Change-Id: I6efe612c3bfda4ac39525b97c3a7797c61f54b8b
parent aa2c6dd5
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