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

Commit f49d0977 authored by Brad Ebinger's avatar Brad Ebinger Committed by Automerger Merge Worker
Browse files

Merge "Add logging for some missing CallState." am: ea9b365b am: d41c24c1

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telecomm/+/1367998

Change-Id: Id70a7f11718719b01d9fc06abd2cbceafe623d93
parents 8ec897e6 d41c24c1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1124,6 +1124,12 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
                case CallState.ANSWERED:
                    event = LogUtils.Events.SET_ANSWERED;
                    break;
                case CallState.AUDIO_PROCESSING:
                    event = LogUtils.Events.SET_AUDIO_PROCESSING;
                    break;
                case CallState.SIMULATED_RINGING:
                    event = LogUtils.Events.SET_SIMULATED_RINGING;
                    break;
            }
            if (event != null) {
                // The string data should be just the tag.
+2 −0
Original line number Diff line number Diff line
@@ -101,6 +101,8 @@ public class LogUtils {
        public static final String SET_DISCONNECTED = "SET_DISCONNECTED";
        public static final String SET_DISCONNECTING = "SET_DISCONNECTING";
        public static final String SET_SELECT_PHONE_ACCOUNT = "SET_SELECT_PHONE_ACCOUNT";
        public static final String SET_AUDIO_PROCESSING = "SET_AUDIO_PROCESSING";
        public static final String SET_SIMULATED_RINGING = "SET_SIMULATED_RINGING";
        public static final String REQUEST_HOLD = "REQUEST_HOLD";
        public static final String REQUEST_UNHOLD = "REQUEST_UNHOLD";
        public static final String REQUEST_DISCONNECT = "REQUEST_DISCONNECT";