When video call state is set, propagate state to InCallCall.
We ultimately need this information in the InCallUI...
Bug: 16015750
Change-Id: I5fc146e2a0812d2b9c48cf6297d9ce4193a10382
diff --git a/src/com/android/telecomm/InCallController.java b/src/com/android/telecomm/InCallController.java
index 3824c6f..7081dc9 100644
--- a/src/com/android/telecomm/InCallController.java
+++ b/src/com/android/telecomm/InCallController.java
@@ -90,6 +90,11 @@
public void onCallerDisplayNameChanged(Call call) {
updateCall(call);
}
+
+ @Override
+ public void onVideoStateChanged(Call call) {
+ updateCall(call);
+ }
};
/** Maintains a binding connection to the in-call app. */
@@ -319,6 +324,6 @@
call.getHandlePresentation(), callerDisplayName,
call.getCallerDisplayNamePresentation(), call.getGatewayInfo(),
call.getPhoneAccount(), call.getCallVideoProvider(), parentCallId, childCallIds,
- call.getStatusHints());
+ call.getStatusHints() , call.getVideoState());
}
}