summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-07-07 14:34:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-07 14:34:59 +0000
commit46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba (patch)
treeaf06f5374ef29b0fb1b58f2d111831853b86895c
parentf18ed45faf24fdc45ce7c158d46d8ab25d39a6e3 (diff)
parent305e0baa67b4b07b78f6e8fd8b1863ab58776369 (diff)
downloadframeworks_base-46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba.zip
frameworks_base-46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba.tar.gz
frameworks_base-46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba.tar.bz2
Merge "Don't dismiss volume during animation" into mnc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java3
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;