Camera tests: Update for service changes
Test: Builds Bug: 32991422 Change-Id: I2cdae7f3541bb01be000c74fc162329ce768a899
This commit is contained in:
parent
8e3a480c90
commit
3462b08148
2 changed files with 6 additions and 2 deletions
|
@ -25,7 +25,11 @@ LOCAL_SHARED_LIBRARIES := \
|
|||
libgui \
|
||||
libsync \
|
||||
libui \
|
||||
libdl
|
||||
libdl \
|
||||
android.hardware.camera.common@1.0 \
|
||||
android.hardware.camera.provider@2.4 \
|
||||
android.hardware.camera.device@1.0 \
|
||||
android.hardware.camera.device@3.2
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
system/media/camera/include \
|
||||
|
|
|
@ -98,7 +98,7 @@ struct CameraModuleFixture {
|
|||
case CAMERA_DEVICE_API_VERSION_3_0:
|
||||
case CAMERA_DEVICE_API_VERSION_3_1:
|
||||
case CAMERA_DEVICE_API_VERSION_3_2:
|
||||
*device = new Camera3Device(cameraID);
|
||||
*device = new Camera3Device(String8::format("%d", cameraID));
|
||||
break;
|
||||
default:
|
||||
device->clear();
|
||||
|
|
Loading…
Reference in a new issue