diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2016-12-22 20:05:52 +0100 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2018-01-26 01:01:06 +0100 |
commit | 3cb7289b977f4614360bce87a06b6896f18580ba (patch) | |
tree | 9a8266a7dbb312c1b502181a0ec6369bbfdecbff /res | |
parent | 41c350944bd0dc79024fad681f3d8e0cf6af3bf0 (diff) | |
download | android_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.xml | 6 |
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> |