commit | d393d5c1e51e61b7ac61d3415586b696ee5c5f2a | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Wed Aug 03 16:18:12 2016 -0700 |
committer | Selim Cinek <cinek@google.com> | Wed Aug 03 16:18:12 2016 -0700 |
tree | a8bd38345f71838a577b652010ac973d9507d947 | |
parent | a981d083f9df38d7393b47f38dc7d6b6273565f6 [diff] |
Fixed the transition of the background of the notifications When there's no notification anymore, the background could animate weirdly as it still factored in the stack translation, which doesn't make much sense. This lead to weird transitions on the lockscreen. Change-Id: I0f17dc5f667106dcad54702be1880a689df24764 Fixes: 30341287
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 bb0a5dc..f72e50b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -2009,7 +2009,7 @@ bottom = Math.min(bottom, getHeight()); } } else { - top = (int) (mTopPadding + mStackTranslation); + top = mTopPadding; bottom = top; } if (mPhoneStatusBar.getBarState() != StatusBarState.KEYGUARD) {