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

Commit e8f8bc0a authored by Jungshik Jang's avatar Jungshik Jang Committed by Android (Google) Code Review
Browse files

Merge "Make stream_music volume configurable." into lmp-dev

parents 3d3f5f8c 32069a12
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -544,6 +544,9 @@ public class AudioService extends IAudioService.Stub {
        MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = SystemProperties.getInt(
            "ro.config.vc_call_vol_steps",
           MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL]);
        MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = SystemProperties.getInt(
            "ro.config.music_vol_steps",
           MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC]);

        sSoundEffectVolumeDb = context.getResources().getInteger(
                com.android.internal.R.integer.config_soundEffectVolumeDb);