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

Commit a64a64a7 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Add a new log event to make parsing EXTRA_ANSWERING_DROPS_FG_CALL easier

Flag: EXEMPT logging only change
Test: atest CtsTelecomTestCases; atest CtsTelecomCujTestCases
Bug: 397880544
Change-Id: I5669ffc5743699dec07e5d5698d9011e5b7714fc
parent f2d9f82b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3396,6 +3396,13 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
            }
        }

        if (extras.containsKey(Connection.EXTRA_ANSWERING_DROPS_FG_CALL)) {
            CharSequence appName =
                    extras.getCharSequence(Connection.EXTRA_ANSWERING_DROPS_FG_CALL_APP_NAME);
            Log.addEvent(this, LogUtils.Events.ANSWER_DROPS_FG,
                    "Answering will drop FG call from %s", appName);
        }

        // The remote connection service API can track the phone account which was originally
        // requested to create a connection via the remote connection service API; we store that so
        // we have some visibility into how a call was actually placed.
+1 −0
Original line number Diff line number Diff line
@@ -233,6 +233,7 @@ public class LogUtils {
        public static final String START_STREAMING = "START_STREAMING";
        public static final String STOP_STREAMING = "STOP_STREAMING";
        public static final String AUDIO_ATTR = "AUDIO_ATTR";
        public static final String ANSWER_DROPS_FG = "ANSWER_DROPS_FG";

        public static class Timings {
            public static final String ACCEPT_TIMING = "accept";