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

Commit 4bf4ede9 authored by qing's avatar qing Committed by Qing Zhong
Browse files

Add call answered timestamp into call extra

Dialer app  can used this this timestamp and cross compare with call connected time to calculate the accpeting call latency within framework.


Test: Manual test
Bug: 242074284
Change-Id: I1bf412a67fead0199844639b562e9110d983ebec
Skip-CP-To-Master:pending on telecom review
parent fd57736b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2888,6 +2888,10 @@ public class CallsManager extends Call.ListenerBase
            call.answer(videoState);
        } else {
            // Hold or disconnect the active call and request call focus for the incoming call.
            Bundle bundle = new Bundle();
            bundle.putLong(TelecomManager.EXTRA_CALL_ANSWERED_TIME_MILLIS,
                     mClockProxy.currentTimeMillis());
            call.putConnectionServiceExtras(bundle);
            holdActiveCallForNewCall(call);
            mConnectionSvrFocusMgr.requestFocus(
                    call,