am 46c272d6: Merge "Don\'t dismiss volume during animation" into mnc-dev

* commit '46c272d6bfc0dd5bbeeb536a9057fa18b754f9ba':
  Don't dismiss volume during animation
This commit is contained in:
Jason Monk
2015-07-07 15:50:06 +00:00
committed by Android Git Automerger

View File

@@ -462,6 +462,9 @@ public class VolumeDialog {
} }
protected void dismissH(int reason) { protected void dismissH(int reason) {
if (mMotion.isAnimating()) {
return;
}
mHandler.removeMessages(H.DISMISS); mHandler.removeMessages(H.DISMISS);
mHandler.removeMessages(H.SHOW); mHandler.removeMessages(H.SHOW);
if (!mShowing) return; if (!mShowing) return;