diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-05-13 17:50:26 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-05-14 22:21:45 +0000 |
commit | 3e02adb028741938dab9787fa1552f86b2558c9a (patch) | |
tree | 6b075f7eb57edd57bdb513cade6e3cb5b8bc53a3 /packages/SystemUI | |
parent | a8545890ac7851dbd113535e14d170e083357f5b (diff) | |
download | frameworks_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.java | 3 |
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); } |