Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73a899d7 authored by Cheney Ni's avatar Cheney Ni Committed by android-build-merger
Browse files

Unmute the streaming as the last step of changing active device

am: 2ede7353

Change-Id: I527df3c2d7db1ad56b81d6669c9d29f6b171e081
parents c10e70fd 2ede7353
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -595,7 +595,7 @@ public class A2dpService extends ProfileService {
                mAudioManager.handleBluetoothA2dpDeviceConfigChange(mActiveDevice);
                if (wasMuted) {
                    mAudioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC,
                                AudioManager.ADJUST_MUTE, AudioManager.FLAG_BLUETOOTH_ABS_VOLUME);
                                AudioManager.ADJUST_UNMUTE, AudioManager.FLAG_BLUETOOTH_ABS_VOLUME);
                }
            }
        }