From 3299edeaa1dc7ac0bc2dda64ab97429092d4e484 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 27 Jan 2017 12:05:25 +0100 Subject: [PATCH] msm8976-common: camera: Always set KEY_PREVIEW_FPS_RANGE to 7500,30000 * Camera2 sets it to 30000,30000 and that makes the images really dark. Change-Id: Icc0eeccdfd16c21ac97d095066b7b14f9bb1a916 --- camera/CameraWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera/CameraWrapper.cpp b/camera/CameraWrapper.cpp index d5c00c1..b860a46 100644 --- a/camera/CameraWrapper.cpp +++ b/camera/CameraWrapper.cpp @@ -135,7 +135,7 @@ static char *camera_fixup_setparams(int id, const char *settings) params.dump(); #endif - // Stub + params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, "7500,30000"); #if !LOG_NDEBUG ALOGV("%s: fixed parameters:", __FUNCTION__);