commit | e66ef5608111e0e53eac68c9487efba600aa656e | [log] [tgz] |
---|---|---|
author | weikao(182042) <weikao@arimacomm.com.tw> | Wed Apr 07 11:51:12 2021 +0800 |
committer | Bharath <bharath@fairphone.com> | Wed Mar 23 10:00:03 2022 +0530 |
tree | fd09be8154ec1376aa4f27d22d5922c61e41f1f9 | |
parent | 8c83d004af3a7c363bc62bc01fdee51af278fde3 [diff] |
Enable notification always during camera recording Show recording notification even in DND mode. Issue: PRJ8901-1610 Issue: FP3-A11#233 Change-Id: I46220079dd2b00e7dffa2f8d3f907baa88bb9536 (cherry picked from commit c618eb609d4c5000eb816a81f695a0c3f88b2db3)
diff --git a/services/core/java/com/android/server/notification/ZenModeHelper.java b/services/core/java/com/android/server/notification/ZenModeHelper.java index 4931d3f..8746486 100644 --- a/services/core/java/com/android/server/notification/ZenModeHelper.java +++ b/services/core/java/com/android/server/notification/ZenModeHelper.java
@@ -1312,9 +1312,6 @@ switch (ringerModeNew) { case AudioManager.RINGER_MODE_SILENT: if (isChange) { - if (mZenMode == Global.ZEN_MODE_OFF) { - newZen = Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; - } ringerModeInternalOut = isVibrate ? AudioManager.RINGER_MODE_VIBRATE : AudioManager.RINGER_MODE_SILENT; } else {