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

Commit 93b80f51 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Add a new log event to make parsing EXTRA_ANSWERING_DROPS_FG_CALL easier" into main

parents 6f96f545 a64a64a7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3405,6 +3405,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";