diff options
| author | 2024-07-18 10:38:38 -0700 | |
|---|---|---|
| committer | 2024-07-18 16:10:55 -0700 | |
| commit | a9bb0db20408b3b53213af7962aa9e41a7998eb2 (patch) | |
| tree | a3121632ec4d6f94f004adafb1c01ff0f4e132af /api/api_test.go | |
| parent | af82cd9248401b5536cfb39b42475bd118a8c243 (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions