From 3334a182a66ec05e6c87b3c98210a28ee51c835f Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 22 Sep 2016 16:19:42 -0700 Subject: [PATCH] Fixed a bug where the dimmed background could be invisible Test: Notification group with 2 children on shade locked. Swipe 1 away and go to lockscreen Change-Id: If7c3a55e220579eb27036f31d59b222371d2bf8e Fixes: 31524202 --- .../systemui/statusbar/ActivatableNotificationView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java index e35ef4469773c..bc4654823f777 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java @@ -593,6 +593,9 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView public void onAnimationEnd(Animator animation) { updateBackground(); mBackgroundAnimator = null; + if (mFadeInFromDarkAnimator == null) { + mDimmedBackgroundFadeInAmount = -1; + } } }); mBackgroundAnimator.addUpdateListener(mBackgroundVisibilityUpdater);