summaryrefslogtreecommitdiffstats
path: root/res
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
parent1a7d451750e1bccc734baa7870c6858cc2a01218 (diff)
downloadandroid_packages_apps_Snap-cm-14.1-wip.zip
android_packages_apps_Snap-cm-14.1-wip.tar.gz
android_packages_apps_Snap-cm-14.1-wip.tar.bz2
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')
-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 2c47154..d856599 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>