需求:设备练级蓝牙手柄待机时,来电外放声音小,修改方案如下
解决连接蓝牙后来电扬声器铃声声音小的问题
Change-Id: Ic5022a4827dc5226684284592b9e04b009302022
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp b/services/audiopolicy/managerdefault/AudioPolicyMa
nager.cpp
index 34784d4218..95e39f6ed3 100755
--- a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
+++ b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
@@ -6798,7 +6798,7 @@ float AudioPolicyManager::computeVolume(IVolumeCurves &curves,
if ((volumeSource != callVolumeSrc && (isInCall() ||
mOutputs.isActiveLocally(callVolumeSrc))) &&
(volumeSource == toVolumeSource(AUDIO_STREAM_SYSTEM) ||
- volumeSource == ringVolumeSrc || volumeSource == musicVolumeSrc ||
+ /* volumeSource == ringVolumeSrc ||*/ volumeSource == musicVolumeSrc ||
volumeSource == alarmVolumeSrc ||
volumeSource == toVolumeSource(AUDIO_STREAM_NOTIFICATION) ||
volumeSource == toVolumeSource(AUDIO_STREAM_ENFORCED_AUDIBLE) ||