From 98bb251c8b527600e7a4cca6cc33499710bbfbf1 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Tue, 30 Aug 2011 21:33:10 +0800 Subject: Add video snapshot camera parameter. The API is still hidden. bug:5187868 Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb --- services/camera/libcameraservice/CameraService.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'services/camera') diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp index e193be0..b178fd9 100644 --- a/services/camera/libcameraservice/CameraService.cpp +++ b/services/camera/libcameraservice/CameraService.cpp @@ -769,11 +769,6 @@ status_t CameraService::Client::takePicture(int msgType) { status_t result = checkPidAndHardware(); if (result != NO_ERROR) return result; - if (mHardware->recordingEnabled()) { - LOGE("Cannot take picture during recording."); - return INVALID_OPERATION; - } - if ((msgType & CAMERA_MSG_RAW_IMAGE) && (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { LOGE("CAMERA_MSG_RAW_IMAGE and CAMERA_MSG_RAW_IMAGE_NOTIFY" -- cgit v1.1