summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-05-13 17:50:26 -0700
committerJorim Jaggi <jjaggi@google.com>2015-05-14 22:21:45 +0000
commit3e02adb028741938dab9787fa1552f86b2558c9a (patch)
tree6b075f7eb57edd57bdb513cade6e3cb5b8bc53a3 /packages/SystemUI
parenta8545890ac7851dbd113535e14d170e083357f5b (diff)
downloadframeworks_base-3e02adb028741938dab9787fa1552f86b2558c9a.zip
frameworks_base-3e02adb028741938dab9787fa1552f86b2558c9a.tar.gz
frameworks_base-3e02adb028741938dab9787fa1552f86b2558c9a.tar.bz2
Fix closing state
Bug: 20940663 Change-Id: I34e2bf4fb3ba9f9ad15e634c4a09883f57b446b2
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
index 38812ce..c8b8b24 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -616,6 +616,9 @@ public abstract class PanelView extends FrameLayout {
boolean expandBecauseOfFalsing) {
cancelPeek();
float target = expand ? getMaxPanelHeight() : 0.0f;
+ if (!expand) {
+ mClosing = true;
+ }
flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
}