summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2017-01-28 14:56:35 +0100
committerBruno Martins <bgcngm@gmail.com>2018-11-20 12:31:36 +0000
commit705df16043d4d8116fa77da66a0413ac46262b97 (patch)
tree6679575afa2f6b303a322a4f6cb83c7f1adee106 /res
parent4f94df6d7b96c57efa9ee8f621477c02d03e922e (diff)
downloadandroid_packages_apps_Snap-705df16043d4d8116fa77da66a0413ac46262b97.tar.gz
android_packages_apps_Snap-705df16043d4d8116fa77da66a0413ac46262b97.tar.bz2
android_packages_apps_Snap-705df16043d4d8116fa77da66a0413ac46262b97.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>