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

Change-Id: I370049b0ecff5d18ee3f43b90aee607fd1abd869
This commit is contained in:
TreeHugger Robot
2020-03-24 02:38:58 +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);