diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2016-12-22 20:05:52 +0100 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 22:00:46 +0200 |
commit | 0f0e2bf6da49217779590f52c9f517eabbd1eedc (patch) | |
tree | 5d64e7ba00e42ddcb5c3db96f396a15853ed8f90 /res | |
parent | 3cc62c42f425e6ca84103fa63ad78c88821cde4c (diff) | |
download | android_packages_apps_Snap-0f0e2bf6da49217779590f52c9f517eabbd1eedc.tar.gz android_packages_apps_Snap-0f0e2bf6da49217779590f52c9f517eabbd1eedc.tar.bz2 android_packages_apps_Snap-0f0e2bf6da49217779590f52c9f517eabbd1eedc.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.xml | 6 |
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> |