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);
|
setDismissing(true);
|
||||||
if (mShowing) {
|
if (mShowing) {
|
||||||
mDialogView.animate().cancel();
|
mDialogView.animate().cancel();
|
||||||
|
if (mContentsPositionAnimator != null) {
|
||||||
mContentsPositionAnimator.cancel();
|
mContentsPositionAnimator.cancel();
|
||||||
|
}
|
||||||
mContents.animate().cancel();
|
mContents.animate().cancel();
|
||||||
|
if (mChevronPositionAnimator != null) {
|
||||||
mChevronPositionAnimator.cancel();
|
mChevronPositionAnimator.cancel();
|
||||||
|
}
|
||||||
mChevron.animate().cancel();
|
mChevron.animate().cancel();
|
||||||
setShowing(false);
|
setShowing(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user