Skip to content

Commit e2c0748

Browse files
Cheney Niandroid-build-merger
authored andcommitted
Unmute the streaming as the last step of changing active device
am: 2499242 Change-Id: I527df3c2d7db1ad56b81d6669c9d29f6b171e081
2 parents 3ec4a99 + 2499242 commit e2c0748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/android/bluetooth/a2dp/A2dpService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ public boolean setActiveDevice(BluetoothDevice device) {
595595
mAudioManager.handleBluetoothA2dpDeviceConfigChange(mActiveDevice);
596596
if (wasMuted) {
597597
mAudioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC,
598-
AudioManager.ADJUST_MUTE, AudioManager.FLAG_BLUETOOTH_ABS_VOLUME);
598+
AudioManager.ADJUST_UNMUTE, AudioManager.FLAG_BLUETOOTH_ABS_VOLUME);
599599
}
600600
}
601601
}

0 commit comments

Comments
 (0)