Add controller for CameraControl focus and metering.
Tested by wiring the call to CameraXActivity and using
the camerapipe based implementation for camera control.
Test: ./gradlew :camera:camera-camera2-pipe-integration:ktlint
./gradlew :camera:camera-camera2-pipe-integration:test
./gradlew :camera:integration-tests:camera-testapp-core:assemble
Change-Id: If1d200f1e840d1c4a3dc2a1a59dc1565c641c113
diff --git a/camera/camera-camera2-pipe-integration/build.gradle b/camera/camera-camera2-pipe-integration/build.gradle
index 20baa76..e028d4d 100644
--- a/camera/camera-camera2-pipe-integration/build.gradle
+++ b/camera/camera-camera2-pipe-integration/build.gradle
@@ -58,6 +58,15 @@
kapt(DAGGER_COMPILER)
+ testImplementation(ANDROIDX_TEST_CORE)
+ testImplementation(ANDROIDX_TEST_RUNNER)
+ testImplementation(JUNIT)
+ testImplementation(TRUTH)
+ testImplementation(ROBOLECTRIC)
+ testImplementation(KOTLIN_COROUTINES_TEST)
+ testImplementation(project(":camera:camera-camera2-pipe-testing"))
+ testImplementation(project(":internal-testutils-truth"))
+
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(KOTLIN_COROUTINES_ANDROID)