summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2024-07-18 10:38:38 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2024-07-18 16:10:55 -0700
commita9bb0db20408b3b53213af7962aa9e41a7998eb2 (patch)
treea3121632ec4d6f94f004adafb1c01ff0f4e132af /api/api_test.go
parentaf82cd9248401b5536cfb39b42475bd118a8c243 (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