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
This commit is contained in:
@@ -593,6 +593,9 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
|
|||||||
public void onAnimationEnd(Animator animation) {
|
public void onAnimationEnd(Animator animation) {
|
||||||
updateBackground();
|
updateBackground();
|
||||||
mBackgroundAnimator = null;
|
mBackgroundAnimator = null;
|
||||||
|
if (mFadeInFromDarkAnimator == null) {
|
||||||
|
mDimmedBackgroundFadeInAmount = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mBackgroundAnimator.addUpdateListener(mBackgroundVisibilityUpdater);
|
mBackgroundAnimator.addUpdateListener(mBackgroundVisibilityUpdater);
|
||||||
|
|||||||
Reference in New Issue
Block a user