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

Commit a2483bf5 authored by Chung Tang's avatar Chung Tang Committed by Android (Google) Code Review
Browse files

Merge "[OutputSwitcher] Refactor to prevent unexpected `notifyRequestFailed()` calls" into main

parents 61a4cd44 412dddee
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -409,9 +409,6 @@ import java.util.concurrent.CopyOnWriteArrayList;

    private void stopBroadcastIfCurrentlySelected(long requestId) {
        if (!currentOutputIsBLEBroadcast()) {
            // Unexpected result.
            Slog.e(TAG, "Unable to stop broadcast, requestId: " + requestId);
            notifyRequestFailed(requestId, MediaRoute2ProviderService.REASON_INVALID_COMMAND);
            return;
        }