commit | d97990e88e88ed475fd5b01f9aa0ddbce6170f2f | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Mon Feb 24 07:37:42 2025 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Feb 24 07:37:42 2025 -0800 |
tree | 51db9c24a683cf8f588a8f610a1b5d97073d143b | |
parent | 10f1e8ed980d2b4c87ee2d2bdf55b6da3b0fe7ba [diff] | |
parent | faa693a80e623e316844f0eb7fb311e24e134cae [diff] |
Merge "Use suspendAnimate to cancel the previous animaiton when the next event arrives." into main
diff --git a/packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt b/packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt index 0c10aaa..feb4769 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt +++ b/packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt
@@ -148,7 +148,7 @@ junkListener?.let(animation::removeUpdateListener) junkListener = jankListenerFactory.show(view).also(animation::addUpdateListener) - animation.animateToFinalPosition(FRACTION_SHOW) + animation.suspendAnimate(FRACTION_SHOW) } is VolumeDialogVisibilityModel.Dismissed -> { tracer.traceVisibilityEnd(it)