summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2020-06-08 14:41:29 -0700
committer Mady Mellor <madym@google.com> 2020-06-08 14:42:05 -0700
commitc54fee4be2f277c2d1624f528bbd9885a2d6e07e (patch)
tree2f62f83c6fec17ff4be9cc5a7be9db1d8ee019ca
parentb19c92dcdd4633f776fef09f02bb9ea69942fc72 (diff)
Remove code that seems unneccessary & has a leak
Test: manual - have some bubbles, try to drag them out of the stack, get a flyout, make sure things work Bug: 149918957 Change-Id: I5c0048ddc265129696707e7b7c0ac93c54663dca
-rw-r--r--packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java
index 91f361b15945..59ded38ffac9 100644
--- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java
+++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleStackView.java
@@ -79,7 +79,6 @@ import androidx.dynamicanimation.animation.SpringForce;
import com.android.internal.annotations.VisibleForTesting;
import com.android.internal.util.ContrastColorUtil;
-import com.android.internal.widget.ViewClippingUtil;
import com.android.systemui.Interpolators;
import com.android.systemui.Prefs;
import com.android.systemui.R;
@@ -292,20 +291,6 @@ public class BubbleStackView extends FrameLayout
private ViewTreeObserver.OnDrawListener mSystemGestureExcludeUpdater =
this::updateSystemGestureExcludeRects;
- private ViewClippingUtil.ClippingParameters mClippingParameters =
- new ViewClippingUtil.ClippingParameters() {
-
- @Override
- public boolean shouldFinish(View view) {
- return false;
- }
-
- @Override
- public boolean isClippingEnablingAllowed(View view) {
- return !mIsExpanded;
- }
- };
-
/** Float property that 'drags' the flyout. */
private final FloatPropertyCompat mFlyoutCollapseProperty =
new FloatPropertyCompat("FlyoutCollapseSpring") {
@@ -1391,7 +1376,6 @@ public class BubbleStackView extends FrameLayout
mBubbleContainer.addView(bubble.getIconView(), 0,
new FrameLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT));
- ViewClippingUtil.setClippingDeactivated(bubble.getIconView(), true, mClippingParameters);
animateInFlyoutForBubble(bubble);
requestUpdate();
logBubbleEvent(bubble, SysUiStatsLog.BUBBLE_UICHANGED__ACTION__POSTED);