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

Commit 975144aa authored by Zhao Wei Liew's avatar Zhao Wei Liew
Browse files

Revert "SoundSettings: Prevent NPE due to linked volumes change"

This is not the proper fix.
A proper fix will be uploaded afterwards.

This reverts commit bd47a5a5.

Change-Id: I8a286c92e4ca45e7055187377255e6d3b4c6c2bf
(cherry picked from commit 6b6e626d)
parent 9c8f34f5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -276,7 +276,6 @@ public class SoundSettings extends SettingsPreferenceFragment implements Indexab
    }

    private void updateRingOrNotificationPreference() {
        if (mRingOrNotificationPreference == null) return;
        mRingOrNotificationPreference.showIcon(mSuppressor != null
                ? com.android.internal.R.drawable.ic_audio_ring_notif_mute
                : mRingerMode == AudioManager.RINGER_MODE_VIBRATE || wasRingerModeVibrate()