Fixed the animation of the no notifications view am: a9d3efd194

am: 5e5a78fc56

Change-Id: Id1dc8db7bfd6be2f0d0892f9c0b4c2b06c878c16
This commit is contained in:
Selim Cinek
2016-08-17 18:27:34 +00:00
committed by android-build-merger

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 {