Fixed a bug where the dimmed background could be invisible

am: 3334a182a6

Change-Id: I30cfda47616d2b365113d9d05f7483e239b973e1
This commit is contained in:
Selim Cinek
2016-09-23 22:02:16 +00:00
committed by android-build-merger

View File

@@ -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);