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
3 files changed