aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-01-23 22:56:51 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-09-27 15:22:07 +0200
commit4fbe02733259751513f28959d2565f3ff726565f (patch)
tree425d3fee0a7902612c9b97b1666ce14170746c2c
parent110618bc1d876c097e3693d2fa493a291bd2c92d (diff)
msm8996-common: Snap: Enable api2
Change-Id: I7fe38ac84b7225adac7164f407da5eae206d5382 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rw-r--r--overlay/packages/apps/Snap/res/values/config.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/overlay/packages/apps/Snap/res/values/config.xml b/overlay/packages/apps/Snap/res/values/config.xml
new file mode 100644
index 0000000..dd380c4
--- /dev/null
+++ b/overlay/packages/apps/Snap/res/values/config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+ 2015 The CyanogenMod Project
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Camera app resources that may need to be customized
+ for different hardware or product builds. -->
+<resources>
+
+ <!-- Opens back camera using openLegacy() -->
+ <bool name="back_camera_open_legacy">false</bool>
+
+ <!-- Opens front camera using openLegacy() -->
+ <bool name="front_camera_open_legacy">false</bool>
+
+ <!-- Enable support for camera api v2 -->
+ <bool name="support_camera_api_v2">true</bool>
+</resources>