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

Commit a64284cd authored by Chi Zhang's avatar Chi Zhang
Browse files

Fix voice call setup duration metrics.

Bug: 238886832
Test: build, unit test, manual test on coral and oriole with both MT/MO
Change-Id: I3a749e954bc5c8aa5ac20c0fd823bba14d117908
parent 220fd520
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2788,6 +2788,8 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                    }
                }
            }
        } else {
            mPhone.getVoiceCallSessionStats().onCallStateChanged(conn.getCall());
        }

        if (changed) {
@@ -3168,7 +3170,6 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                        DisconnectCause.NOT_DISCONNECTED, true /*ignore state update*/);
                mMetrics.writeImsCallState(mPhone.getPhoneId(),
                        imsCall.getCallSession(), conn.getCall().mState);
                mPhone.getVoiceCallSessionStats().onCallStateChanged(conn.getCall());
            }
        }