Enable qs open while shade expansion is still running
Fixes: 190837480 Test: slowly fling shade open, swipe qs open => qs opens, qs does not show extra tiles during shade open (before second swipe to open qs) Change-Id: I359935e55e24b4e7faaf5e9d3fdc80fc55d965b8
This commit is contained in:
@@ -2286,8 +2286,7 @@ public class NotificationPanelViewController extends PanelViewController {
|
||||
private void updateQSExpansionEnabledAmbient() {
|
||||
final float scrollRangeToTop = mAmbientState.getTopPadding() - mQuickQsOffsetHeight;
|
||||
mQsExpansionEnabledAmbient = mShouldUseSplitNotificationShade
|
||||
|| (mAmbientState.getScrollY() <= scrollRangeToTop
|
||||
&& !mAmbientState.isShadeOpening());
|
||||
|| (mAmbientState.getScrollY() <= scrollRangeToTop);
|
||||
setQsExpansionEnabled();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user