Loading services/camera/libcameraservice/api1/client2/Parameters.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -1826,6 +1826,9 @@ status_t Parameters::updateRequest(CameraMetadata *request) const { camera_metadata_entry_t intent = camera_metadata_entry_t intent = request->find(ANDROID_CONTROL_CAPTURE_INTENT); request->find(ANDROID_CONTROL_CAPTURE_INTENT); if (intent.count == 0) return BAD_VALUE; if (intent.data.u8[0] == ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE) { if (intent.data.u8[0] == ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE) { res = request->update(ANDROID_CONTROL_AE_TARGET_FPS_RANGE, res = request->update(ANDROID_CONTROL_AE_TARGET_FPS_RANGE, fastInfo.bestStillCaptureFpsRange, 2); fastInfo.bestStillCaptureFpsRange, 2); Loading Loading
services/camera/libcameraservice/api1/client2/Parameters.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -1826,6 +1826,9 @@ status_t Parameters::updateRequest(CameraMetadata *request) const { camera_metadata_entry_t intent = camera_metadata_entry_t intent = request->find(ANDROID_CONTROL_CAPTURE_INTENT); request->find(ANDROID_CONTROL_CAPTURE_INTENT); if (intent.count == 0) return BAD_VALUE; if (intent.data.u8[0] == ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE) { if (intent.data.u8[0] == ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE) { res = request->update(ANDROID_CONTROL_AE_TARGET_FPS_RANGE, res = request->update(ANDROID_CONTROL_AE_TARGET_FPS_RANGE, fastInfo.bestStillCaptureFpsRange, 2); fastInfo.bestStillCaptureFpsRange, 2); Loading