Loading src/com/android/server/telecom/TransactionalServiceWrapper.java +9 −0 Original line number Diff line number Diff line Loading @@ -425,6 +425,15 @@ public class TransactionalServiceWrapper implements @Override public void onError(CallException exception) { if (isAnswerRequest) { // This also sends the signal to untrack from TSW and the client_TSW removeCallFromCallsManager(call, new DisconnectCause(DisconnectCause.REJECTED, "client rejected to answer the call;" + " force disconnecting")); } else { mCallsManager.markCallAsOnHold(call); } maybeResetForegroundCall(foregroundCallBeforeSwap, wasActive); } }); Loading src/com/android/server/telecom/voip/CallEventCallbackAckTransaction.java +2 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,8 @@ public class CallEventCallbackAckTransaction extends VoipCallTransaction { boolean success = latch.await(VoipCallTransaction.TIMEOUT_LIMIT, TimeUnit.MILLISECONDS); if (!success) { // client send onError and failed to complete transaction Log.i(TAG, String.format("CallEventCallbackAckTransaction:" + " client failed to complete the [%s] transaction", mAction)); return CompletableFuture.completedFuture(TRANSACTION_FAILED); } else { // success Loading Loading
src/com/android/server/telecom/TransactionalServiceWrapper.java +9 −0 Original line number Diff line number Diff line Loading @@ -425,6 +425,15 @@ public class TransactionalServiceWrapper implements @Override public void onError(CallException exception) { if (isAnswerRequest) { // This also sends the signal to untrack from TSW and the client_TSW removeCallFromCallsManager(call, new DisconnectCause(DisconnectCause.REJECTED, "client rejected to answer the call;" + " force disconnecting")); } else { mCallsManager.markCallAsOnHold(call); } maybeResetForegroundCall(foregroundCallBeforeSwap, wasActive); } }); Loading
src/com/android/server/telecom/voip/CallEventCallbackAckTransaction.java +2 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,8 @@ public class CallEventCallbackAckTransaction extends VoipCallTransaction { boolean success = latch.await(VoipCallTransaction.TIMEOUT_LIMIT, TimeUnit.MILLISECONDS); if (!success) { // client send onError and failed to complete transaction Log.i(TAG, String.format("CallEventCallbackAckTransaction:" + " client failed to complete the [%s] transaction", mAction)); return CompletableFuture.completedFuture(TRANSACTION_FAILED); } else { // success Loading