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
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 @@
     }
 
     protected void dismissH(int reason) {
+        if (mMotion.isAnimating()) {
+            return;
+        }
         mHandler.removeMessages(H.DISMISS);
         mHandler.removeMessages(H.SHOW);
         if (!mShowing) return;