summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-12-21 13:05:32 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-04-04 12:11:45 +0200
commitaab6840b5d2337bb712642492f4bbb1af6f2ca19 (patch)
tree667a210f332e92c6cea8af85b0b1fa4d985004a9
parent15b803bc66ad9f5116a52f7bf7a9612a7f4d1a6b (diff)
downloaddevice_samsung_smdk4412-common-aab6840b5d2337bb712642492f4bbb1af6f2ca19.tar.gz
device_samsung_smdk4412-common-aab6840b5d2337bb712642492f4bbb1af6f2ca19.tar.bz2
device_samsung_smdk4412-common-aab6840b5d2337bb712642492f4bbb1af6f2ca19.zip
add Camera overlay, update Camera2 overlay
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--overlay/packages/apps/Camera/res/values/config.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/overlay/packages/apps/Camera/res/values/config.xml b/overlay/packages/apps/Camera/res/values/config.xml
new file mode 100644
index 0000000..255d6ad
--- /dev/null
+++ b/overlay/packages/apps/Camera/res/values/config.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2011, 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.
+*/
+-->
+
+<resources>
+ <!-- Allows setting video size before recording starts -->
+ <bool name="needsEarlyVideoSize">true</bool>
+ <!-- Force use of profile video size -->
+ <bool name="useProfileVideoSize">true</bool>
+ <!-- Samsung Camera Settings -->
+ <bool name="hasSamsungCamSettings">true</bool>
+ <!-- Use ZSL mode -->
+ <bool name="enableZSL">true</bool>
+ <!-- Magic for enabling ZSL on Samsung cameras -->
+ <bool name="sendMagicSamsungZSLCommand">true</bool>
+ <!-- The camera removes the focus modes by default when touch-to-focus
+ exists. Use this option to change that behavior -->
+ <bool name="wantsFocusModes">true</bool>
+</resources>