Merge "Fix regression on voice call default volume" into rvc-dev am: 962946c9b1 am: 86c25ccf80

Change-Id: I8451943709f93f8afc6796ae630c7651aa79f043
This commit is contained in:
TreeHugger Robot
2020-03-24 02:30:45 +00:00
committed by Automerger Merge Worker

View File

@@ -693,7 +693,7 @@ public class AudioService extends IAudioService.Stub
AudioSystem.DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = defaultCallVolume;
} else {
AudioSystem.DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] =
(maxCallVolume * 3) / 4;
(MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] * 3) / 4;
}
int maxMusicVolume = SystemProperties.getInt("ro.config.media_vol_steps", -1);