summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--device_base.mk4
-rw-r--r--overlay/packages/apps/Settings/res/values/config.xml4
-rw-r--r--overlay/packages/apps/Torch/res/values/config.xml25
3 files changed, 33 insertions, 0 deletions
diff --git a/device_base.mk b/device_base.mk
index edd2c77..e667658 100644
--- a/device_base.mk
+++ b/device_base.mk
@@ -142,6 +142,10 @@ PRODUCT_PACKAGES += \
hwcomposer.s5pc110 \
sensors.herring
+# Torch
+PRODUCT_PACKAGES += \
+ Torch
+
# Camera
PRODUCT_PACKAGES += \
camera.herring
diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml
new file mode 100644
index 0000000..86192fc
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/config.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <bool name="has_led_flash">true</bool>
+</resources> \ No newline at end of file
diff --git a/overlay/packages/apps/Torch/res/values/config.xml b/overlay/packages/apps/Torch/res/values/config.xml
new file mode 100644
index 0000000..593661a
--- /dev/null
+++ b/overlay/packages/apps/Torch/res/values/config.xml
@@ -0,0 +1,25 @@
+<?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.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+ <!-- If there is no sysfs-based control mechanism, enable this -->
+ <bool name="useCameraInterface">true</bool>
+</resources> \ No newline at end of file