commit | a9d3efd1940501bd4e9a7cff0b1ebacf0743c34e | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Aug 16 14:16:59 2016 -0700 |
committer | Selim Cinek <cinek@google.com> | Tue Aug 16 21:46:47 2016 +0000 |
tree | 875acc9ed153d57669a4c1a3da4de6000ea47c4f | |
parent | f925b8df927a93b20174cde16989cd739421e48c [diff] |
Fixed the animation of the no notifications view The view was also animating when the shade wasn't expanded. Change-Id: If235db60230525dda17c5df0681beec2ab01a79e Fixes: 30880548
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index 119d855..c8c4310 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -3455,7 +3455,7 @@ notifyHeightChangeListener(mEmptyShadeView); } }; - if (mAnimationsEnabled) { + if (mAnimationsEnabled && mIsExpanded) { mEmptyShadeView.setWillBeGone(true); mEmptyShadeView.performVisibilityAnimation(false, onFinishedRunnable); } else {