diff options
-rw-r--r-- | test/CameraHal/camera_test_menu.cpp | 8 | ||||
-rw-r--r-- | test/CameraHal/camera_test_script.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp index eb78f0f..1430ea4 100644 --- a/test/CameraHal/camera_test_menu.cpp +++ b/test/CameraHal/camera_test_menu.cpp @@ -1013,13 +1013,13 @@ int stopRecording() { int openCamera() { printf("openCamera(camera_index=%d)\n", camera_index); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { printf("Unable to connect to CameraService\n"); printf("Retrying... \n"); sleep(1); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { printf("Giving up!! \n"); @@ -1456,10 +1456,10 @@ int functional_menu() { stopRecording(); closeRecorder(); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { sleep(1); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { return -1; } diff --git a/test/CameraHal/camera_test_script.cpp b/test/CameraHal/camera_test_script.cpp index d8c2fb1..afd88be 100644 --- a/test/CameraHal/camera_test_script.cpp +++ b/test/CameraHal/camera_test_script.cpp @@ -237,10 +237,10 @@ int execute_functional_script(char *script) { stopRecording(); closeRecorder(); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { sleep(1); - camera = Camera::connect(camera_index, false, false); + camera = Camera::connect(camera_index); if ( NULL == camera.get() ) { return -1; |