Loading src/java/com/android/internal/telephony/Connection.java +9 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,15 @@ public abstract class Connection { return mConnectTime; } /** * Sets the Connection connect time in currentTimeMillis() format. * * @param connectTime the new connect time. */ public void setConnectTime(long connectTime) { mConnectTime = connectTime; } /** * Connection connect time in elapsedRealtime() format. * For outgoing calls: Begins at (DIALING|ALERTING) -> ACTIVE transition. Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCall.java +8 −0 Original line number Diff line number Diff line Loading @@ -219,6 +219,14 @@ public class ImsPhoneCall extends Call { /* package */ void merge(ImsPhoneCall that, State state) { // This call is the conference host and the "that" call is the one being merged in. // Set the connect time to the earliest of this call and the other call. // This ensures that when an ImsConference is started, its start time will be when the first // call in the conference started. long earliestConnectTime = Math.min(getEarliestConnectTime(), that.getEarliestConnectTime()); getFirstConnection().setConnectTime(earliestConnectTime); ImsPhoneConnection[] cc = that.mConnections.toArray( new ImsPhoneConnection[that.mConnections.size()]); for (ImsPhoneConnection c : cc) { Loading Loading
src/java/com/android/internal/telephony/Connection.java +9 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,15 @@ public abstract class Connection { return mConnectTime; } /** * Sets the Connection connect time in currentTimeMillis() format. * * @param connectTime the new connect time. */ public void setConnectTime(long connectTime) { mConnectTime = connectTime; } /** * Connection connect time in elapsedRealtime() format. * For outgoing calls: Begins at (DIALING|ALERTING) -> ACTIVE transition. Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCall.java +8 −0 Original line number Diff line number Diff line Loading @@ -219,6 +219,14 @@ public class ImsPhoneCall extends Call { /* package */ void merge(ImsPhoneCall that, State state) { // This call is the conference host and the "that" call is the one being merged in. // Set the connect time to the earliest of this call and the other call. // This ensures that when an ImsConference is started, its start time will be when the first // call in the conference started. long earliestConnectTime = Math.min(getEarliestConnectTime(), that.getEarliestConnectTime()); getFirstConnection().setConnectTime(earliestConnectTime); ImsPhoneConnection[] cc = that.mConnections.toArray( new ImsPhoneConnection[that.mConnections.size()]); for (ImsPhoneConnection c : cc) { Loading