Merge "Fixed the animation of the no notifications view" into nyc-mr1-dev

This commit is contained in:
TreeHugger Robot
2016-08-16 23:28:21 +00:00
committed by Android (Google) Code Review

View File

@@ -3455,7 +3455,7 @@ public class NotificationStackScrollLayout extends ViewGroup
notifyHeightChangeListener(mEmptyShadeView);
}
};
if (mAnimationsEnabled) {
if (mAnimationsEnabled && mIsExpanded) {
mEmptyShadeView.setWillBeGone(true);
mEmptyShadeView.performVisibilityAnimation(false, onFinishedRunnable);
} else {