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

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

Merge "AudioService: stop SCO audio when communication route client dies" into...

Merge "AudioService: stop SCO audio when communication route client dies" into sc-qpr1-dev am: f369d1dd

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

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

    /**