Merge "DO NOT MERGE setAvrcpAbsoluteVolume is passed wrong unit parameter from AudioManager" into klp-dev

This commit is contained in:
Zhihai Xu
2014-03-12 23:22:37 +00:00
committed by Android (Google) Code Review

View File

@ -1019,7 +1019,7 @@ public class AudioService extends IAudioService.Stub {
(flags & AudioManager.FLAG_BLUETOOTH_ABS_VOLUME) == 0) {
synchronized (mA2dpAvrcpLock) {
if (mA2dp != null && mAvrcpAbsVolSupported) {
mA2dp.setAvrcpAbsoluteVolume(index);
mA2dp.setAvrcpAbsoluteVolume(index / 10);
}
}
}