summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-24 07:37:42 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-02-24 07:37:42 -0800
commitd97990e88e88ed475fd5b01f9aa0ddbce6170f2f (patch)
tree51db9c24a683cf8f588a8f610a1b5d97073d143b
parent10f1e8ed980d2b4c87ee2d2bdf55b6da3b0fe7ba (diff)
parentfaa693a80e623e316844f0eb7fb311e24e134cae (diff)
Merge "Use suspendAnimate to cancel the previous animaiton when the next event arrives." into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt2
1 files changed, 1 insertions, 1 deletions
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 0c10aaa57a05..feb47693e98d 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 @@ constructor(
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)