Fixed the animation of the no notifications view

am: a9d3efd194

Change-Id: Ie7a832eca373de9d669cd76134ae740414381efa
This commit is contained in:
Selim Cinek
2016-08-17 17:35:23 +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 {