summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-10-03 14:15:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-10-03 14:15:42 +0000
commitddab9b0a7be8ca0ebb0d87d3e8ef782dd7e2a2f0 (patch)
tree14a451b7a5fe640d6cccac2fc6076be9e76e82da
parent8937427bfbcf2911f7c0fe43a0d2a9e15e331d06 (diff)
parentf20a318b2dac88bdb624992d13a5ebef743341e9 (diff)
Merge "Settings panel is expanded correnctly when QQS is showing"
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java6
1 files changed, 5 insertions, 1 deletions
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 3a4c218d337e..6ea4c92e4143 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -733,7 +733,11 @@ public class NotificationPanelView extends PanelView implements
mQsExpandImmediate = true;
mNotificationStackScroller.setShouldShowShelfOnly(true);
}
- expand(true /* animate */);
+ if (isFullyCollapsed()){
+ expand(true /* animate */);
+ } else {
+ flingSettings(0 /* velocity */, FLING_EXPAND);
+ }
}
public void expandWithoutQs() {