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/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index a7b34f2..fecfffb 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -17,6 +17,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.telecomm.tests">
+ <!-- Test connection service outgoing video preview. -->
+ <uses-permission android:name="android.permission.CAMERA" />
+
<application android:label="@string/app_name">
<uses-library android:name="android.test.runner" />