Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc005a89 authored by John Spurlock's avatar John Spurlock
Browse files

Volume Dialog: Fix NPE found in monkey testing.

Bug: 22116033
Change-Id: I34c586ec77bd0d2baae4e84c07afc781cda09ec3
parent bee7245c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -198,9 +198,13 @@ public class VolumeDialogMotion {
        setDismissing(true);
        if (mShowing) {
            mDialogView.animate().cancel();
            if (mContentsPositionAnimator != null) {
                mContentsPositionAnimator.cancel();
            }
            mContents.animate().cancel();
            if (mChevronPositionAnimator != null) {
                mChevronPositionAnimator.cancel();
            }
            mChevron.animate().cancel();
            setShowing(false);
        }