From f229d406d0ca0a9fd55f24d22a7396e6908bafaf Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Mon, 23 May 2016 16:10:38 -0700 Subject: [PATCH] Fix clipping not being activated on children in groups Some views were not getting the call to reactivate clipping this is because only the when the view was made visible was it reset, views made invisible would be missed. Fixes: 27364129 Change-Id: Ie6944569f432cd657f7f741c95c4067b346ea98b --- .../systemui/statusbar/notification/TransformState.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/TransformState.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/TransformState.java index 4e643f0fcae19..7d3da1b67422f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/TransformState.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/TransformState.java @@ -463,9 +463,7 @@ public class TransformState { mTransformedView.animate().cancel(); mTransformedView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); mTransformedView.setAlpha(visible ? 1.0f : 0.0f); - if (visible) { - resetTransformedView(); - } + resetTransformedView(); } public void prepareFadeIn() {