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

Commit b0cc0525 authored by Vinay Verma's avatar Vinay Verma Committed by Steve Kondik
Browse files

Modify SILENT profile to restrict notification sound

Return correct value for silent mode profile to restrict
notification sound.

CRs-Fixed: 871527

Change-Id: I94dfbc219179ea1586946331258ea8eb9d8a2beb
parent bbc98166
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -418,8 +418,8 @@ public class ZenModeHelper implements AudioManagerInternal.RingerModeDelegate {
                    {
                        newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS;
                    }
                    ringerModeInternalOut = isVibrate ? AudioManager.RINGER_MODE_VIBRATE
                            : AudioManager.RINGER_MODE_NORMAL;
                    ringerModeInternalOut = !isVibrate ? AudioManager.RINGER_MODE_VIBRATE
                            : AudioManager.RINGER_MODE_SILENT;
                } else {
                    ringerModeInternalOut = ringerModeInternal;
                }