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

Commit 6229f47d authored by zengjing's avatar zengjing Committed by android-build-merger
Browse files

Merge "Do not setForceUse when a2dp config without change" am: 8a984b9f am: a49ca727

am: d181b01c

Change-Id: If5b52f0f80bfd2ea299c3e11068660a14132ce82
parents 657c313c d181b01c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3312,6 +3312,9 @@ public class AudioService extends IAudioService.Stub
                .append(Binder.getCallingPid()).toString();

        synchronized (mBluetoothA2dpEnabledLock) {
            if (mBluetoothA2dpEnabled == on) {
                return;
            }
            mBluetoothA2dpEnabled = on;
            sendMsg(mAudioHandler, MSG_SET_FORCE_BT_A2DP_USE, SENDMSG_QUEUE,
                    AudioSystem.FOR_MEDIA,