summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2014-01-27 20:43:33 +0530
committertilaksidduram <tilaksidduram@gmail.com>2014-01-27 20:43:33 +0530
commit14abba96df7e5395e840818bf1d72473cecd807d (patch)
tree0c8fa56d6c74411d39c5f97d00c51b2519edf3c6 /overlay
parent02ae88a246a7375db01fe858407b8fb526edbce4 (diff)
downloaddevice_samsung_n7100-14abba96df7e5395e840818bf1d72473cecd807d.zip
device_samsung_n7100-14abba96df7e5395e840818bf1d72473cecd807d.tar.gz
device_samsung_n7100-14abba96df7e5395e840818bf1d72473cecd807d.tar.bz2
[N7100]-Added Lightbulb overlays and removed Torch overlays
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/pa_config.xml23
-rw-r--r--overlay/packages/apps/Lightbulb/res/values/config.xml21
-rw-r--r--overlay/packages/apps/Torch/res/values/config.xml36
3 files changed, 44 insertions, 36 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/pa_config.xml b/overlay/frameworks/base/core/res/res/values/pa_config.xml
new file mode 100644
index 0000000..13f9a31
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/pa_config.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright (C) 2014 ParanoidAndroid 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Camera flash -->
+ <bool name="config_device_has_camera_flash">true</bool>
+</resources>
diff --git a/overlay/packages/apps/Lightbulb/res/values/config.xml b/overlay/packages/apps/Lightbulb/res/values/config.xml
new file mode 100644
index 0000000..1315b79
--- /dev/null
+++ b/overlay/packages/apps/Lightbulb/res/values/config.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 ParanoidAndroid Project
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+-->
+<resources>
+ <!-- Camera flash (App) -->
+ <bool name="camera_has_flash">true</bool>
+</resources>
diff --git a/overlay/packages/apps/Torch/res/values/config.xml b/overlay/packages/apps/Torch/res/values/config.xml
deleted file mode 100644
index d4611e2..0000000
--- a/overlay/packages/apps/Torch/res/values/config.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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">false</bool>
-
- <!-- Full path to the sysfs toggle -->
- <string name="flashDevice">/sys/class/camera/flash/rear_flash</string>
-
- <!-- Lowest setting -->
- <integer name="valueOn">1</integer>
- <!-- Middle setting -->
- <integer name="valueHigh">10</integer>
- <!-- Highest setting, leave -1 if it doesn't exist -->
- <integer name="valueDeathRay">15</integer>
-
-</resources>