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

This commit is contained in:
Jungshik Jang
2014-09-02 23:20:29 +00:00
committed by Android (Google) Code Review

View File

@@ -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);