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

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

QSLongPressEffect Animator initialized when called to START

Initializing the animator now happens in the action to START the effect.
This guarantees that the animator is created every time it is required
to start. With this, the long-press effect logic holds after device
rotations, which causes the view binder to re-launch the collector
coroutine, thereby setting the animator to null. This also removes the
INITIALIZE_ANIMATOR action, which saves an extra coroutine continuation
event.

Test: SystemUiRoboTests:QSLongPressEffectTest
Flag: ACONFIG quick_settings_visual_haptics_longpress TEAMFOOD
Bug: 337271048
Change-Id: I3f3ec5372e5b662aad4eab834518362e0a0b2a53
parent dbf2dd62
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