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

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

Reversing QS long-press effect if no activity launch occurs.

In the case where no launch animation happens after a long-press, the
effect is reversed. This is identified by a cancelled transition
callback from the DelegateTransitionAnimatorController introduced. As
the effect reverses, the shade also collapses. To avoid height update
conflicts, the height is only updated if the long-press effect is not
reversing.

This was the only case in which the state of the long-press effect
was not reset after a long-click. With the reversal in place, it is no
longer necessary to reset the tile properties when a height change is
happening.

Test: atest SystemUITests:QSTileViewImplTest
Test: atest SystemUiRoboTests:QSLongPressEffectTest
Bug: 353976394
Bug: 332900989
Flag: com.android.systemui.quick_settings_visual_haptics_longpress
Change-Id: Ib07d849cf6a5e9f84a3683ed7bf0a779e0aa915f
parent af82cd92
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