summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2017-01-28 14:56:35 +0100
committerChippa-a <vusal1372@gmail.com>2019-10-25 15:55:25 +0300
commit5740fe5b116e7b36d8b67e90742d059fdd750cdf (patch)
tree24e30939f8fe0209d494044bfcd5f7021a96a425 /res
parentf578763ab20847d77587ae3d151a82876a47993e (diff)
downloadandroid_packages_apps_Snap-5740fe5b116e7b36d8b67e90742d059fdd750cdf.tar.gz
android_packages_apps_Snap-5740fe5b116e7b36d8b67e90742d059fdd750cdf.tar.bz2
android_packages_apps_Snap-5740fe5b116e7b36d8b67e90742d059fdd750cdf.zip
Snap: Detect and use Camera2 if available
Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sat Jan 28 14:56:35 2017 +0100 Snap: detect and use Camera2 if available Also add overlay option to enable support for Camera2 to retain current behaviour. Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4 Author: codeworkx <daniel.hillenbrand@codeworkx.de> Date: Sun Aug 13 12:22:05 2017 +0200 Snap: Add missing null check on isCamera2Supported Change-Id: I61c04c7cb8d344573ab7fb11f7114f09aaf24fb7 Change-Id: I339ead08d10ddff5dad491987d94367354a4b3f3
Diffstat (limited to 'res')
-rw-r--r--res/values/config.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 023ce2dd4..300c2d906 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -28,6 +28,9 @@
of the fullscreen pano preview. -->
<bool name="enable_warped_pano_preview">true</bool>
+ <!-- Enable support for camera api v2 -->
+ <bool name="support_camera_api_v2">false</bool>
+
<!-- Opens back camera using openLegacy() and forces api v1 -->
<bool name="back_camera_open_legacy">true</bool>