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

Commit 5627721c authored by Zixuan Qu's avatar Zixuan Qu Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug in QueryCallStreamingTransaction." into udc-dev

parents 68b5c788 fb4fd804
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -110,12 +110,12 @@ public class CallStreamingController extends CallsManagerListenerBase {
            CompletableFuture<VoipCallTransactionResult> future = new CompletableFuture<>();

            if (mCallsManager.getCallStreamingController().isStreaming()) {
                future.complete(new VoipCallTransactionResult(
                        VoipCallTransactionResult.RESULT_SUCCEED, null));
            } else {
                future.complete(new VoipCallTransactionResult(
                        VoipCallTransactionResult.RESULT_FAILED,
                        "STREAMING_FAILED_ALREADY_STREAMING"));
            } else {
                future.complete(new VoipCallTransactionResult(
                        VoipCallTransactionResult.RESULT_SUCCEED, null));
            }

            return future;