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

Commit cbc86388 authored by Amit Mahajan's avatar Amit Mahajan Committed by Automerger Merge Worker
Browse files

Merge "Use SmsSession.Event.Type.RIL_SERVICE_STATE_CHANGED instead" am: 83a315d5 am: 287c3828

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1651610

Change-Id: I574db08ab49949356d875027f0012708036ceeb5
parents 94672738 287c3828
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ public class TelephonyMetrics {
            for (SmsSession.Event event : smsSession.events) {
                pw.print(event.delay);
                pw.print(" T=");
                if (event.type == TelephonyCallSession.Event.Type.RIL_SERVICE_STATE_CHANGED) {
                if (event.type == SmsSession.Event.Type.RIL_SERVICE_STATE_CHANGED) {
                    pw.println(smsSessionEventToString(event.type)
                            + "(" + "Data RAT " + event.serviceState.dataRat
                            + " Voice RAT " + event.serviceState.voiceRat
@@ -1092,7 +1092,7 @@ public class TelephonyMetrics {
        TelephonyServiceState serviceState = mLastServiceState.get(phoneId);
        if (serviceState != null) {
            smsSession.addEvent(smsSession.startElapsedTimeMs, new SmsSessionEventBuilder(
                    TelephonyCallSession.Event.Type.RIL_SERVICE_STATE_CHANGED)
                    SmsSession.Event.Type.RIL_SERVICE_STATE_CHANGED)
                    .setServiceState(serviceState));
        }