From 0af645b954ba245e80156f344aaf47703a430999 Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Wed, 28 Oct 2020 21:21:41 -0500 Subject: [PATCH] Remove unused animation setup for bubble flyout Bug: 145237309 Test: create flyout, drag flyout to close it, let flyout naturally close after one/consecutive updates => no regression Change-Id: I13e7014187630898537676ad4062e318fcb58b7a --- .../src/com/android/systemui/bubbles/BubbleStackView.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java index 1201d42b1fc5a..016b09c5a8177 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java @@ -58,7 +58,6 @@ import android.view.ViewTreeObserver; import android.view.WindowInsets; import android.view.accessibility.AccessibilityNodeInfo; import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; -import android.view.animation.AccelerateDecelerateInterpolator; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.TextView; @@ -1112,9 +1111,6 @@ public class BubbleStackView extends FrameLayout } mFlyout = new BubbleFlyoutView(getContext()); mFlyout.setVisibility(GONE); - mFlyout.animate() - .setDuration(FLYOUT_ALPHA_ANIMATION_DURATION) - .setInterpolator(new AccelerateDecelerateInterpolator()); mFlyout.setOnClickListener(mFlyoutClickListener); mFlyout.setOnTouchListener(mFlyoutTouchListener); addView(mFlyout, new FrameLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT));