Merge "Fixed a bug where notifications could remain in the overlay." into lmp-dev
This commit is contained in:
@@ -461,6 +461,8 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
|
||||
if (mDrawingAppearAnimation) {
|
||||
startAppearAnimation(false /* isAppearing */, translationDirection,
|
||||
0, duration, onFinishedRunnable);
|
||||
} else if (onFinishedRunnable != null) {
|
||||
onFinishedRunnable.run();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -747,6 +747,7 @@ public class StackStateAnimator {
|
||||
} else if (event.animationType ==
|
||||
NotificationStackScrollLayout.AnimationEvent.ANIMATION_TYPE_REMOVE) {
|
||||
if (changingView.getVisibility() == View.GONE) {
|
||||
mHostLayout.getOverlay().remove(changingView);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user