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

Commit d598949a authored by Chi Zhang's avatar Chi Zhang Committed by Android (Google) Code Review
Browse files

Merge "Fix voice call setup duration metrics." into tm-d1-dev

parents 111bb45a a64284cd
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());
            }
        }