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

Commit 8a984b9f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Do not setForceUse when a2dp config without change"

parents 1c3681fe 452da339
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2986,6 +2986,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,