commit | f50e88227d30c96e33b6bdb9863f8f15a0f8ae42 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Wed Jun 01 11:19:26 2016 -0400 |
committer | Jason Monk <jmonk@google.com> | Wed Jun 01 11:19:26 2016 -0400 |
tree | 5f087522a809208d11749aa9f681e4d97339e6c9 | |
parent | e19cc141c388c7190a1582f0ee72c9ba67569a2d [diff] |
QS: Fix single expanded frame from layout During animation it was resetting the QS expansion on layout which made a frame of fully expanded appear. Bug: 28008271 Change-Id: I6ac44cb918bdf53da0653332eabf0f4e96779cff
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 522f250..5064d8e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1735,7 +1735,7 @@ public void onQsHeightChanged() { mQsMaxExpansionHeight = mQsContainer.getDesiredHeight(); - if (mQsExpanded) { + if (mQsExpanded && mQsFullyExpanded) { mQsExpansionHeight = mQsMaxExpansionHeight; requestScrollerTopPaddingUpdate(false /* animate */); requestPanelHeightUpdate();