commit | c25989eb758256e5bb168046f3bd12067df1423d | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Feb 16 16:42:14 2018 -0800 |
committer | Selim Cinek <cinek@google.com> | Tue Feb 20 22:49:05 2018 +0000 |
tree | c0fa44b1cce918bdf7f1c445ada17f549a1323cd | |
parent | ed64a14cf71c61a69a37a6509758dcaae3168f39 [diff] [blame] |
Fixed the launch animation for groups Also fixed various bugs when the notification was clipped in the beginning. Bug: 72997506 Test: add group, click on group child Change-Id: I30c76f2a86838fbeee1c6e6adb88dc9f4f4be0c4
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java index d7a810e..0f637fb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/AmbientState.java
@@ -220,8 +220,7 @@ } public int getInnerHeight() { - return Math.max(Math.min(mLayoutHeight, mMaxLayoutHeight) - mTopPadding - - mExpandAnimationTopChange, mLayoutMinHeight); + return Math.max(Math.min(mLayoutHeight, mMaxLayoutHeight) - mTopPadding, mLayoutMinHeight); } public boolean isShadeExpanded() {