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

Commit 6a5a1d85 authored by Roman Birg's avatar Roman Birg
Browse files

Profiles: fix mute ring mode not applying



Since the introduction of Zen mode, we need to use the internal method
to set the expected audio mode.

Change-Id: I4e453e37410c21289a730aabb98a9338ad74f4e4
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 7fa62bb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ public final class RingModeSettings implements Parcelable {
                ringerMode = AudioManager.RINGER_MODE_VIBRATE;
            }
            AudioManager amgr = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
            amgr.setRingerMode(ringerMode);
            amgr.setRingerModeInternal(ringerMode);
        }
    }