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

Commit d0805157 authored by Anoush Khazeni's avatar Anoush Khazeni Committed by Automerger Merge Worker
Browse files

Merge "Incorporating property setting for the minimum volume limit for...

Merge "Incorporating property setting for the minimum volume limit for Assistant." into udc-dev am: a7ba7d7f am: 136d6e1f am: 73162ef1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23175039



Change-Id: I1feafda72f4311912ff1a0ca88d3de749768774a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 20da1dff 73162ef1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1145,6 +1145,11 @@ public class AudioService extends IAudioService.Stub
                        MAX_STREAM_VOLUME[AudioSystem.STREAM_SYSTEM];
        }
        int minAssistantVolume = SystemProperties.getInt("ro.config.assistant_vol_min", -1);
        if (minAssistantVolume != -1) {
            MIN_STREAM_VOLUME[AudioSystem.STREAM_ASSISTANT] = minAssistantVolume;
        }
        // Read following properties to configure max volume (number of steps) and default volume
        //   for STREAM_NOTIFICATION and STREAM_RING:
        //      config_audio_notif_vol_default