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

Commit c9f5fc93 authored by Naveen Kalla's avatar Naveen Kalla Committed by android-build-merger
Browse files

Merge "Add precise disconnect cause to CS call metrics" am: 403b6ed4

am: 5645e5d9

Change-Id: Ia4deca0a522729eede86e4f1b240576895634043
parents ceaea2a2 5645e5d9
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
@@ -445,6 +445,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();
@@ -1474,6 +1475,7 @@ public class TelephonyMetrics {
        }
        call.callEndReason = conn.getDisconnectCause();
        call.isMultiparty = conn.isMultiparty();
        call.preciseDisconnectCause = conn.getPreciseDisconnectCause();
    }

    /**