aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Yzusqui <myzb.dev@gmail.com>2016-02-25 17:23:54 +0100
committerdesaishivam26 <shivamdesaixda@gmail.com>2016-02-27 18:14:25 +0530
commit77dbdb31e7a93c36fea928d613d1e20fd501bf9a (patch)
tree7ac80583013748d371978a67e6cad002ed857a18
parentf8ae4a85a12530de30dd9a6c4cc3724e4f096674 (diff)
titan: camera: disable zsl
To achieve 'zero-shutter-lag' the camera driver has to keep a full ress copy of the current preview in a buffer. When pictures are taken in dark environments and flash is required. For normal capt- ures, it's common to use a double flash to calibrate the sensor on the first and capture on the second. After the recent snap changes, captures that trigger flash are lacking the second flash when zsl is enabled. This leads to the pictures being very dark. It may be entirely possible that our sensor is to slow to cali- brate and shot within 1 flash period or that zsl was never meant to be used with flash. Disable zsl entirely while we find out a proper fix. Change-Id: I9a16d9eae0a00169a7749814c26e5abfac168b26
-rw-r--r--overlay/packages/apps/Snap/res/values/qcomarrays.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/packages/apps/Snap/res/values/qcomarrays.xml b/overlay/packages/apps/Snap/res/values/qcomarrays.xml
index c33808d..15cc2a8 100644
--- a/overlay/packages/apps/Snap/res/values/qcomarrays.xml
+++ b/overlay/packages/apps/Snap/res/values/qcomarrays.xml
@@ -36,4 +36,7 @@
<item>hfr120</item>
</string-array>
+ <!-- Zero shutter lag-->
+ <string name="pref_camera_zsl_default" translatable="false">off</string>
+
</resources>