am 9f1a9f49: am a5ed4d38: Merge "Fixed a bug where notifications could remain in the overlay." into lmp-dev

* commit '9f1a9f49de0e88cb4b4c66a6e14eb6cc98289c9a':
  Fixed a bug where notifications could remain in the overlay.
This commit is contained in:
Selim Cinek
2014-08-28 13:55:23 +00:00
committed by Android Git Automerger
2 changed files with 3 additions and 0 deletions

View File

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

View File

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