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

Commit 7c77b823 authored by Josh Tsuji's avatar Josh Tsuji Committed by Android (Google) Code Review
Browse files

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

parents 9a3362ea a24baca0
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);