From 9eddcdc4b9ce3e32181e5229e5aeb300331a8285 Mon Sep 17 00:00:00 2001 From: Artem Borisov <dedsa2002@gmail.com> Date: Tue, 20 Nov 2018 17:48:49 +0400 Subject: [PATCH] msm8953-common: Snap: Enable camera api v2 It's quite ugly, but we want a functional camera until HAL1 issues will be sorted out. Change-Id: I56ab4e78600f4d4906dc0b02b205546e1884949b --- overlay/packages/apps/Snap/res/values/config.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/overlay/packages/apps/Snap/res/values/config.xml b/overlay/packages/apps/Snap/res/values/config.xml index b0e6a9c..cb9d978 100644 --- a/overlay/packages/apps/Snap/res/values/config.xml +++ b/overlay/packages/apps/Snap/res/values/config.xml @@ -19,9 +19,12 @@ for different hardware or product builds. --> <resources> <!-- Opens back camera using openLegacy() and forces api v1 --> - <bool name="back_camera_open_legacy">true</bool> + <bool name="back_camera_open_legacy">false</bool> <!-- Opens front camera using openLegacy() and forces api v1 --> - <bool name="front_camera_open_legacy">true</bool> + <bool name="front_camera_open_legacy">false</bool> + + <!-- Enable support for camera api v2 --> + <bool name="support_camera_api_v2">true</bool> </resources> -- GitLab