aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2016-01-19 16:10:59 +0100
committerdesaishivam26 <shivamdesaixda@gmail.com>2016-01-25 21:57:37 +0530
commitf4985a9eb8c5a261f6e7c9e06acb4a98b2473cda (patch)
tree815a51f97c00e2a3263fae007de83a5966ed2618
parent604b10b323ed2b8c7ed7704aa2e8cc91e5731439 (diff)
falcon: Snap: Disable ZSL
If ZSL is enabled, the HAL might automatically force a lower fps (depending on the current resolution). This causes problems if the normal fps range is not restored before changing configuration (e.g. changing resolution, enabling HDR, switching to video mode). When this happens, the sensor gets stuck at low fps, the preview becomes dark and an invalid fps preview range might get selected, leading to a crash. Disable ZSL to prevent all these issues. Change-Id: I0b00dd65a1ff88547d39874ec1c60fb9263335f7
-rw-r--r--overlay/packages/apps/Snap/res/values/qcomstrings.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/overlay/packages/apps/Snap/res/values/qcomstrings.xml b/overlay/packages/apps/Snap/res/values/qcomstrings.xml
new file mode 100644
index 0000000..20f4583
--- /dev/null
+++ b/overlay/packages/apps/Snap/res/values/qcomstrings.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
+ Copyright (C) 2014-2016 The CyanogenMod Project
+
+ Not a Contribution.
+
+ Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+
+ <!-- Zero shutter lag-->
+ <string name="pref_camera_zsl_default" translatable="false">off</string>
+
+</resources>