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

Commit e8472bd2 authored by Danesh M's avatar Danesh M
Browse files

Revert "ZenModeHelper: To pass android.media.cts.AudioManagerTest."

This reverts commit df4028bf.

issue-id: CYNGNOS-1226

Change-Id: I1df5eb32ce11ea8408c97291e342b22af1a0363e
parent e26e1496
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -413,9 +413,7 @@ public class ZenModeHelper implements AudioManagerInternal.RingerModeDelegate {
        switch (ringerModeNew) {
            case AudioManager.RINGER_MODE_SILENT:
                if (isChange) {
                    if (mZenMode == Global.ZEN_MODE_OFF &&
                        mContext.getResources().getBoolean(com.android.internal.R.bool.config_setZenModeWhenSilentModeOn))
                    {
                    if (mZenMode == Global.ZEN_MODE_OFF) {
                        newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS;
                    }
                    ringerModeInternalOut = !isVibrate ? AudioManager.RINGER_MODE_VIBRATE