summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2016-12-22 20:05:52 +0100
committerArne Coucheron <arco68@gmail.com>2018-01-26 01:01:06 +0100
commit3cb7289b977f4614360bce87a06b6896f18580ba (patch)
tree9a8266a7dbb312c1b502181a0ec6369bbfdecbff /res
parent41c350944bd0dc79024fad681f3d8e0cf6af3bf0 (diff)
downloadandroid_packages_apps_Snap-3cb7289b977f4614360bce87a06b6896f18580ba.tar.gz
android_packages_apps_Snap-3cb7289b977f4614360bce87a06b6896f18580ba.tar.bz2
android_packages_apps_Snap-3cb7289b977f4614360bce87a06b6896f18580ba.zip
Snap: make openLegacy an option
Using openLegacy on QCamera3 forces it to use QCamera2 and fall back to api v1 which is not what we want on v2 devices. Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0
Diffstat (limited to 'res')
-rw-r--r--res/values/config.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index de0ca1cf6..b998fd277 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -28,6 +28,12 @@
of the fullscreen pano preview. -->
<bool name="enable_warped_pano_preview">true</bool>
+ <!-- Opens back camera using openLegacy() and forces api v1 -->
+ <bool name="back_camera_open_legacy">true</bool>
+
+ <!-- Opens front camera using openLegacy() and forces api v1 -->
+ <bool name="front_camera_open_legacy">true</bool>
+
<!-- Restart preview for back camera onPictureTaken -->
<bool name="back_camera_restart_preview_onPictureTaken">false</bool>