Support for treating single party IMS conference as a standalone call.
Adding @hide APIs which Telephony can use to make a conference call with a single participant look like its a standalone call. Test: Manual testing Bug: 75975913 Change-Id: Id8532234ab295785fc749b120898f43911e12637
This commit is contained in:
@@ -1254,6 +1254,31 @@ public abstract class ConnectionService extends Service {
|
||||
mAdapter.removeExtras(id, keys);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConferenceStateChanged(Conference c, boolean isConference) {
|
||||
String id = mIdByConference.get(c);
|
||||
if (id != null) {
|
||||
mAdapter.setConferenceState(id, isConference);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAddressChanged(Conference c, Uri newAddress, int presentation) {
|
||||
String id = mIdByConference.get(c);
|
||||
if (id != null) {
|
||||
mAdapter.setAddress(id, newAddress, presentation);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCallerDisplayNameChanged(Conference c, String callerDisplayName,
|
||||
int presentation) {
|
||||
String id = mIdByConference.get(c);
|
||||
if (id != null) {
|
||||
mAdapter.setCallerDisplayName(id, callerDisplayName, presentation);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private final Connection.Listener mConnectionListener = new Connection.Listener() {
|
||||
|
||||
Reference in New Issue
Block a user