Merge "Volume Dialog: Fix NPE found in monkey testing." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f21f1a9158
@@ -198,9 +198,13 @@ public class VolumeDialogMotion {
|
||||
setDismissing(true);
|
||||
if (mShowing) {
|
||||
mDialogView.animate().cancel();
|
||||
mContentsPositionAnimator.cancel();
|
||||
if (mContentsPositionAnimator != null) {
|
||||
mContentsPositionAnimator.cancel();
|
||||
}
|
||||
mContents.animate().cancel();
|
||||
mChevronPositionAnimator.cancel();
|
||||
if (mChevronPositionAnimator != null) {
|
||||
mChevronPositionAnimator.cancel();
|
||||
}
|
||||
mChevron.animate().cancel();
|
||||
setShowing(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user