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

Commit aa7c44e7 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "audio:should stop btsco when client died" am: 5a76779d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1781189

Change-Id: I8c35bb3734fa49a6463d8124a1214901fde3eb28
parents 4cef59a7 5a76779d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1720,10 +1720,9 @@ import java.util.concurrent.atomic.AtomicBoolean;
            return;
        }
        Log.w(TAG, "Speaker client died");
        if (removeCommunicationRouteClient(client.getBinder(), false)
                != null) {
            onUpdateCommunicationRoute("onCommunicationRouteClientDied");
        }
        setCommunicationRouteForClient(
                client.getBinder(), client.getPid(), null,
                BtHelper.SCO_MODE_UNDEFINED, "onCommunicationRouteClientDied");
    }

    /**