summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Selim Cinek <cinek@google.com> 2016-09-22 16:19:42 -0700
committer Selim Cinek <cinek@google.com> 2016-09-22 16:19:42 -0700
commit3334a182a66ec05e6c87b3c98210a28ee51c835f (patch)
tree5a8b27e18768db73780cd6feaf938d7f0fee315c
parentfc7086ef652dcf014c87c0cc38bd99de18a5c905 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java b/packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
index e35ef4469773..bc4654823f77 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);