summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-12-21 13:05:32 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-12-21 13:05:32 +0100
commit74c0ee499ed8ddf0f5f43420073c7b2993d7975d (patch)
tree874d7e528a32a1c46cce10d3ca9c9316883230f9
parent4eeaeb68eb63ae86924a9a8313b0ae7ff2344a00 (diff)
downloaddevice_samsung_smdk4412-common-74c0ee499ed8ddf0f5f43420073c7b2993d7975d.zip
device_samsung_smdk4412-common-74c0ee499ed8ddf0f5f43420073c7b2993d7975d.tar.gz
device_samsung_smdk4412-common-74c0ee499ed8ddf0f5f43420073c7b2993d7975d.tar.bz2
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
-rw-r--r--overlay/packages/apps/Camera2/res/values/config.xml6
2 files changed, 34 insertions, 6 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>
diff --git a/overlay/packages/apps/Camera2/res/values/config.xml b/overlay/packages/apps/Camera2/res/values/config.xml
index ec5a188..ba8bc1f 100644
--- a/overlay/packages/apps/Camera2/res/values/config.xml
+++ b/overlay/packages/apps/Camera2/res/values/config.xml
@@ -18,12 +18,6 @@
-->
<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>
<bool name="useContinuosFocusForTouch">true</bool>