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

Commit 11585aaa authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
Browse files

Merge "Make sure the ringer drawer is present before trying to hide it." into sc-dev am: 7c77b823

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13755324

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2831af1d13919553f7118e7382967a5d4b12b0ba
parents 20761fb8 7c77b823
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -778,6 +778,12 @@ public class VolumeDialogImpl implements VolumeDialog,

    /** Animates away the ringer drawer. */
    private void hideRingerDrawer() {

        // If the ringer drawer isn't present, don't try to hide it.
        if (mRingerDrawerContainer == null) {
            return;
        }

        // Hide the drawer icon for the selected ringer - it's visible in the ringer button and we
        // don't want to be able to see it while it animates away.
        getDrawerIconViewForMode(mState.ringerModeInternal).setVisibility(INVISIBLE);