aboutsummaryrefslogtreecommitdiff
path: root/overlay/packages
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-01-23 22:56:51 +0100
commit3d32de4bb5b4ff6c0c98d9d8b437a87e9589a7d8 (patch)
treebed40f47aff58508ab0dca5686ceb801e96a8862 /overlay/packages
parent9463e3b5a6e438610f6d9d9e8bc5c787a90184cd (diff)
msm8996-common: Snap: Enable api2
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'overlay/packages')
-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>