Loading services/core/java/com/android/server/audio/AudioService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1710,7 +1710,7 @@ public class AudioService extends IAudioService.Stub Log.d(TAG, "adjustSreamVolume: postSetAvrcpAbsoluteVolumeIndex index=" + newIndex + "stream=" + streamType); } mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex); mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex / 10); } // Check if volume update should be send to Hearing Aid Loading services/core/java/com/android/server/audio/BtHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -191,8 +191,8 @@ public class BtHelper { Log.i(TAG, "setAvrcpAbsoluteVolumeIndex index=" + index); } AudioService.sVolumeLogger.log(new AudioServiceEvents.VolumeEvent( AudioServiceEvents.VolumeEvent.VOL_SET_AVRCP_VOL, index / 10)); mA2dp.setAvrcpAbsoluteVolume(index / 10); AudioServiceEvents.VolumeEvent.VOL_SET_AVRCP_VOL, index)); mA2dp.setAvrcpAbsoluteVolume(index); } /*package*/ synchronized int getA2dpCodec(@NonNull BluetoothDevice device) { Loading Loading
services/core/java/com/android/server/audio/AudioService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1710,7 +1710,7 @@ public class AudioService extends IAudioService.Stub Log.d(TAG, "adjustSreamVolume: postSetAvrcpAbsoluteVolumeIndex index=" + newIndex + "stream=" + streamType); } mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex); mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex / 10); } // Check if volume update should be send to Hearing Aid Loading
services/core/java/com/android/server/audio/BtHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -191,8 +191,8 @@ public class BtHelper { Log.i(TAG, "setAvrcpAbsoluteVolumeIndex index=" + index); } AudioService.sVolumeLogger.log(new AudioServiceEvents.VolumeEvent( AudioServiceEvents.VolumeEvent.VOL_SET_AVRCP_VOL, index / 10)); mA2dp.setAvrcpAbsoluteVolume(index / 10); AudioServiceEvents.VolumeEvent.VOL_SET_AVRCP_VOL, index)); mA2dp.setAvrcpAbsoluteVolume(index); } /*package*/ synchronized int getA2dpCodec(@NonNull BluetoothDevice device) { Loading