Skip to content

Commit

Permalink
camera: force zsl on for hdr mode
Browse files Browse the repository at this point in the history
* HDR doesn't work in several apps without this

Change-Id: I2d6ba9b7ea7cf4eead18536f656eeb8d95274f9c
  • Loading branch information
nikich340 authored and invisiblek committed Feb 24, 2016
1 parent 53fbdb7 commit ec482b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions camera/CameraWrapper.cpp
Expand Up @@ -135,6 +135,9 @@ static char *camera_fixup_setparams(int id, const char *settings)

params.set(android::CameraParameters::KEY_VIDEO_STABILIZATION, "false");

if (!strncmp(params.get(android::CameraParameters::KEY_SCENE_MODE), "hdr", 3))
params.set("zsl", "on");

#if !LOG_NDEBUG
ALOGV("%s: fixed parameters:", __FUNCTION__);
params.dump();
Expand Down

0 comments on commit ec482b0

Please sign in to comment.