Set Calls with CallVideoProviders, and update InCallCalls on change.
Bug: 15893156
Change-Id: I27aa41d389673d94adcfe5da8c1ea0f4e155ae26
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index bd41dcc..871bf75 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -162,6 +162,11 @@
updateCall(call);
}
+ @Override
+ public void onCallVideoProviderChanged(Call call) {
+ updateCall(call);
+ }
+
void bringToForeground(boolean showDialpad) {
if (mInCallService != null) {
try {
@@ -311,7 +316,8 @@
return new InCallCall(callId, state, call.getDisconnectCause(), call.getDisconnectMessage(),
call.getCannedSmsResponses(), capabilities, connectTimeMillis, call.getHandle(),
call.getGatewayInfo(), call.getSubscription(), descriptor,
- call.getHandoffCallServiceDescriptor(), parentCallId, childCallIds);
+ call.getHandoffCallServiceDescriptor(), call.getCallVideoProvider(),
+ parentCallId, childCallIds);
}
}