Merge "Telecom: Reset the duration after the CDMA call is accepted"
am: 2cbf44dc2f
Change-Id: I823efd5765b77fcf55f4c38a6091d980530abae8
This commit is contained in:
@@ -842,6 +842,7 @@ public abstract class Connection extends Conferenceable {
|
||||
public void onRemoteRttRequest(Connection c) {}
|
||||
/** @hide */
|
||||
public void onPhoneAccountChanged(Connection c, PhoneAccountHandle pHandle) {}
|
||||
public void onConnectionTimeReset(Connection c) {}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2365,6 +2366,16 @@ public abstract class Connection extends Conferenceable {
|
||||
fireOnConferenceableConnectionsChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Resets the cdma connection time.
|
||||
*/
|
||||
public final void resetConnectionTime() {
|
||||
for (Listener l : mListeners) {
|
||||
l.onConnectionTimeReset(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the connections or conferences with which this connection can be conferenced.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user