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

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

Merge "LeAudioService: Reset mExposedActiveDevice when deactivated"

parents bb61ff62 849fb670
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()