From d9a3f8f0f13defda29875de414372ecea9d4c9e0 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 17 Mar 2016 19:39:00 -0700 Subject: [PATCH] Fixed a bug where children could have fake shadows Bug: 24866646 Change-Id: I2a6e7749a16eb62480abbb49b5f600af1e8c327a --- .../statusbar/stack/NotificationChildrenContainer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java index 1f8818b574af6..176788b158bef 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationChildrenContainer.java @@ -379,6 +379,8 @@ public class NotificationChildrenContainer extends ViewGroup { } tmpState.alpha = alpha; state.applyViewState(divider, tmpState); + // There is no fake shadow to be drawn on the children + child.setFakeShadowIntensity(0.0f, 0.0f, 0, 0); } } @@ -413,6 +415,8 @@ public class NotificationChildrenContainer extends ViewGroup { } tmpState.alpha = alpha; stateAnimator.startViewAnimations(divider, tmpState, baseDelay, duration); + // There is no fake shadow to be drawn on the children + child.setFakeShadowIntensity(0.0f, 0.0f, 0, 0); } }