Increase logging for Call#setStartFailCause
This CL ensures that the cause for why makeRoomForOutgoingCall returned false is logged to the Telecom dumpsys. This is intended to help with debugging.
Fixes: 269285007
Test: manual force makeRoomForOutgoingCall to return false; ensure logging is present in the dumpsys
Change-Id: I71e50439bb0a594e1d44042df4070a8ff420fc36
diff --git a/src/com/android/server/telecom/Call.java b/src/com/android/server/telecom/Call.java
index 7b0b697..2454ba0 100644
--- a/src/com/android/server/telecom/Call.java
+++ b/src/com/android/server/telecom/Call.java
@@ -4499,6 +4499,7 @@
}
public void setStartFailCause(CallFailureCause cause) {
+ Log.i(this, "setStartFailCause: cause = %s; callId = %s", cause, this.getId());
mCallStateChangedAtomWriter.setStartFailCause(cause);
}