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

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

Merge "Add precise disconnect cause to CS call metrics"

parents 15587899 befa553d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1945,6 +1945,10 @@ message TelephonyCallSession {

      // This field is true for Conference Calls
      optional bool is_multiparty = 5;

      // Detailed cause code for CS Call failures
      // frameworks/base/telephony/java/android/telephony/PreciseDisconnectCause.java
      optional int32 precise_disconnect_cause = 6;
    }

    // Single Radio Voice Call Continuity(SRVCC) progress state
+2 −0
Original line number Diff line number Diff line
@@ -455,6 +455,7 @@ public class TelephonyMetrics {
                    for (RilCall call : event.calls) {
                        pw.println(call.index + ". Type = " + call.type + " State = "
                                + call.state + " End Reason " + call.callEndReason
                                + " Precise Disconnect Cause " + call.preciseDisconnectCause
                                + " isMultiparty = " + call.isMultiparty);
                    }
                    pw.decreaseIndent();
@@ -1484,6 +1485,7 @@ public class TelephonyMetrics {
        }
        call.callEndReason = conn.getDisconnectCause();
        call.isMultiparty = conn.isMultiparty();
        call.preciseDisconnectCause = conn.getPreciseDisconnectCause();
    }

    /**