TestCallVideoProvider enhancements, telecomm Call fix.
1. Displaying actual camera preview on preview surface for Test
Call Video Provider.
2. In telecomm Call, setting the video state during connection creation
so that the incoming call video state is properly populated.
Bug: 16043064
Change-Id: I77d0d673ad79376202f09310f9202bd9a7363e03
diff --git a/src/com/android/telecomm/Call.java b/src/com/android/telecomm/Call.java
index 27ed0d7..c5c0487 100644
--- a/src/com/android/telecomm/Call.java
+++ b/src/com/android/telecomm/Call.java
@@ -578,6 +578,7 @@
setCallerDisplayName(
connection.getCallerDisplayName(), connection.getCallerDisplayNamePresentation());
setCallVideoProvider(connection.getCallVideoProvider());
+ setVideoState(connection.getVideoState());
if (mIsIncoming) {
// We do not handle incoming calls immediately when they are verified by the connection