summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2016-12-22 20:05:52 +0100
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2016-12-23 06:26:13 -0800
commit2064b8549b36a5ceb76d205353173c23477430d3 (patch)
tree37ba578e5a84374cbee183f632e0e2e22b9efba4 /res/values/config.xml
parent1a7d451750e1bccc734baa7870c6858cc2a01218 (diff)
downloadandroid_packages_apps_Snap-2064b8549b36a5ceb76d205353173c23477430d3.tar.gz
android_packages_apps_Snap-2064b8549b36a5ceb76d205353173c23477430d3.tar.bz2
android_packages_apps_Snap-2064b8549b36a5ceb76d205353173c23477430d3.zip
Snap: make openLegacy an optioncm-14.1-wip
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/values/config.xml')
-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 2c47154cd..d8565998a 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -29,6 +29,12 @@
of the fullscreen pano preview. -->
<bool name="enable_warped_pano_preview">false</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>
+
<!-- Set's parameter "lge-camera" for LGE devices. -->
<bool name="lge_camera">false</bool>