commit | 3558fb1578c518a61cd841d34288852837f388aa | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Apr 11 16:20:51 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Apr 11 16:38:31 2019 -0700 |
tree | 71021f5b67371c3a6e86129a19553aa897007e23 | |
parent | 863b3c8574e493168d4f3cbee368a6c74625ffad [diff] [blame] |
Fix flickering when swiping up We were calculating the wrong shade size. NSSL should not be considered when pulsing because it's not visible. Test: pulse, swipe up Fixes: 130377234 Change-Id: Idff00fb3b06f2f6edd79cd82955509be0f965d31
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 0e9264b..dd957b4 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1709,7 +1709,8 @@ min = Math.max(min, minHeight); } int maxHeight; - if (mQsExpandImmediate || mQsExpanded || mIsExpanding && mQsExpandedWhenExpandingStarted) { + if (mQsExpandImmediate || mQsExpanded || mIsExpanding && mQsExpandedWhenExpandingStarted + || mPulsing) { maxHeight = calculatePanelHeightQsExpanded(); } else { maxHeight = calculatePanelHeightShade();