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

Commit 1a56d9de 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: Ic01de82886cf5097f3dc2e758215f6bc6adeb90e
parents a33768dd 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);