diff options
author | Jason Monk <jmonk@google.com> | 2015-07-06 15:53:59 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-07-06 15:53:59 -0400 |
commit | 305e0baa67b4b07b78f6e8fd8b1863ab58776369 (patch) | |
tree | 805e9be154f8d3663cfcb480d2d23f001dfc8858 /packages/SystemUI | |
parent | a559590043e32f670813e062f042f9e642297edf (diff) | |
download | frameworks_base-305e0baa67b4b07b78f6e8fd8b1863ab58776369.zip frameworks_base-305e0baa67b4b07b78f6e8fd8b1863ab58776369.tar.gz frameworks_base-305e0baa67b4b07b78f6e8fd8b1863ab58776369.tar.bz2 |
Don't dismiss volume during animation
(sometimes this messes up the state and results in it getting
stuck on the screen)
Bug: 22169656
Change-Id: I7738be8f7f54fc72d68bf9831baed2821f362bb1
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java index 3964820..a4ccfd1 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java @@ -462,6 +462,9 @@ public class VolumeDialog { } protected void dismissH(int reason) { + if (mMotion.isAnimating()) { + return; + } mHandler.removeMessages(H.DISMISS); mHandler.removeMessages(H.SHOW); if (!mShowing) return; |