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

Commit 0576a885 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Verbose logging when API_MEDIA is force-disconnected"

parents 0ed70dde 5ac51484
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1222,6 +1222,9 @@ status_t BufferQueueProducer::disconnect(int api, DisconnectMode mode) {
        }

        if (api == BufferQueueCore::CURRENTLY_CONNECTED_API) {
            if (mCore->mConnectedApi == NATIVE_WINDOW_API_MEDIA) {
                ALOGD("About to force-disconnect API_MEDIA, mode=%d", mode);
            }
            api = mCore->mConnectedApi;
            // If we're asked to disconnect the currently connected api but
            // nobody is connected, it's not really an error.