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

Commit 7af10554 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "LeAudioService: Reset mExposedActiveDevice when deactivated" am:...

Merge "LeAudioService: Reset mExposedActiveDevice when deactivated" am: bf75e93f am: 758f0b17 am: 6d8136a9

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2550450



Change-Id: I81a943e97b7e11ed7c3cb3739b706b48760e5f42
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d1579d63 6d8136a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -396,6 +396,7 @@ public class LeAudioService extends ProfileService {

        mActiveAudioOutDevice = null;
        mActiveAudioInDevice = null;
        mExposedActiveDevice = null;
        mLeAudioCodecConfig = null;

        // Set the service and BLE devices as inactive
@@ -1243,6 +1244,8 @@ public class LeAudioService extends ProfileService {
                    continue;
                }

                mExposedActiveDevice = null;

                if (DBG) {
                    Log.d(TAG, " onAudioDevicesRemoved: " + address + ", device type: "
                            + deviceInfo.getType() + ", isSink: " + deviceInfo.isSink()