IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState IMS-VT: Fix propagation of device orientation. Orientation received at VT Service is incorrect. Fixed propagation of device orientation to VT service. IMS-VT: Upgrade fix -Add session modify call timed out constant Notify listeners of video quality changed event - Propagate the video quality changed message to the UI. IMS: Add support for video quality - Add Config interface to get/set video quality IMS-VT: Multitasking feature -Support for video multitasking IMS-VT: Modification of data usage aidl Change data usage aidl interface to take parameter type long instead of int Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc Propagate the call substate changed message to the UI IMS-VT: Add call modifiable capability PhoneCapababilities call type modifiable constant added IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set IMS-VT: Enable Video conferencing. Enable Video conferencing. Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b IMS-VT: Add hide for setVideoProvider API Observed compilation error for SDK generation due to setVideoProvider API. Marking setVideoProvider as hide inorder to resolve the compilation error. IMS-VT: Add persist.radio.ims.audio.output for VT calls -- Add persist.radio.ims.audio.output to set the default speaker for VT calls. -- Add required constants IMS-VT: Add additional error codes for upgrade downgrade -Add support to send additional error codes to UI during upgrade downgrade. Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
This commit is contained in:
@@ -415,6 +415,21 @@ public abstract class ConnectionService extends Service {
|
||||
Connection.capabilitiesToString(connectionCapabilities));
|
||||
mAdapter.setConnectionCapabilities(id, connectionCapabilities);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onVideoStateChanged(Conference c, int videoState) {
|
||||
String id = mIdByConference.get(c);
|
||||
Log.d(this, "onVideoStateChanged set video state %d", videoState);
|
||||
mAdapter.setVideoState(id, videoState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onVideoProviderChanged(Conference c, Connection.VideoProvider videoProvider) {
|
||||
String id = mIdByConference.get(c);
|
||||
Log.d(this, "onVideoProviderChanged: Connection: %s, VideoProvider: %s", c,
|
||||
videoProvider);
|
||||
mAdapter.setVideoProvider(id, videoProvider);
|
||||
}
|
||||
};
|
||||
|
||||
private final Connection.Listener mConnectionListener = new Connection.Listener() {
|
||||
@@ -508,6 +523,8 @@ public abstract class ConnectionService extends Service {
|
||||
@Override
|
||||
public void onVideoProviderChanged(Connection c, Connection.VideoProvider videoProvider) {
|
||||
String id = mIdByConnection.get(c);
|
||||
Log.d(this, "onVideoProviderChanged: Connection: %s, VideoProvider: %s", c,
|
||||
videoProvider);
|
||||
mAdapter.setVideoProvider(id, videoProvider);
|
||||
}
|
||||
|
||||
@@ -542,6 +559,13 @@ public abstract class ConnectionService extends Service {
|
||||
mAdapter.setIsConferenced(id, conferenceId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCallSubstateChanged(Connection c, int callSubstate) {
|
||||
String id = mIdByConnection.get(c);
|
||||
Log.d(this, "Adapter set call substate %d", callSubstate);
|
||||
mAdapter.setCallSubstate(id, callSubstate);
|
||||
}
|
||||
};
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@@ -611,7 +635,8 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getAudioModeIsVoip(),
|
||||
connection.getStatusHints(),
|
||||
connection.getDisconnectCause(),
|
||||
createIdList(connection.getConferenceables())));
|
||||
createIdList(connection.getConferenceables()),
|
||||
connection.getCallSubstate()));
|
||||
}
|
||||
|
||||
private void abort(String callId) {
|
||||
@@ -871,6 +896,8 @@ public abstract class ConnectionService extends Service {
|
||||
* @param conference The new conference object.
|
||||
*/
|
||||
public final void addConference(Conference conference) {
|
||||
Log.d(this, "addConference: conference=%s", conference);
|
||||
|
||||
String id = addConferenceInternal(conference);
|
||||
if (id != null) {
|
||||
List<String> connectionIds = new ArrayList<>(2);
|
||||
@@ -884,8 +911,14 @@ public abstract class ConnectionService extends Service {
|
||||
conference.getState(),
|
||||
conference.getConnectionCapabilities(),
|
||||
connectionIds,
|
||||
conference.getConnectTimeMillis());
|
||||
conference.getVideoProvider() == null ?
|
||||
null : conference.getVideoProvider().getInterface(),
|
||||
conference.getVideoState(),
|
||||
conference.getConnectTimeMillis()
|
||||
);
|
||||
mAdapter.addConferenceCall(id, parcelableConference);
|
||||
mAdapter.setVideoProvider(id, conference.getVideoProvider());
|
||||
mAdapter.setVideoState(id, conference.getVideoState());
|
||||
|
||||
// Go through any child calls and set the parent.
|
||||
for (Connection connection : conference.getConnections()) {
|
||||
@@ -926,7 +959,7 @@ public abstract class ConnectionService extends Service {
|
||||
connection.getAudioModeIsVoip(),
|
||||
connection.getStatusHints(),
|
||||
connection.getDisconnectCause(),
|
||||
emptyList);
|
||||
emptyList, connection.getCallSubstate());
|
||||
mAdapter.addExistingConnection(id, parcelableConnection);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user