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

Commit aac94c55 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update proto.videoEnabled when IMS call starts with a video call" into...

Merge "Update proto.videoEnabled when IMS call starts with a video call" into udc-d1-dev am: 1c0068d2 am: 66f2edad

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



Change-Id: I61fd132e3e333632c229cfc6e2877d88d3f3ca59
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3c43f4e7 66f2edad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -426,6 +426,7 @@ public class VoiceCallSessionStats {
        int bearer = getBearer(conn);
        ServiceState serviceState = getServiceState();
        @NetworkType int rat = getVoiceRatWithVoNRFix(mPhone, serviceState, bearer);
        @VideoState int videoState = conn.getVideoState();
        VoiceCallSession proto = new VoiceCallSession();

        proto.bearerAtStart = bearer;
@@ -452,6 +453,7 @@ public class VoiceCallSessionStats {
        proto.isRoaming = serviceState != null ? serviceState.getVoiceRoaming() : false;
        proto.isMultiparty = conn.isMultiparty();
        proto.lastKnownRat = rat;
        proto.videoEnabled = videoState != VideoProfile.STATE_AUDIO_ONLY ? true : false;

        // internal fields for tracking
        if (getDirection(conn) == VOICE_CALL_SESSION__DIRECTION__CALL_DIRECTION_MT) {