aboutsummaryrefslogtreecommitdiffstats
path: root/overlay/cm-common
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-05-21 18:57:10 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-05-23 11:20:28 +0000
commit811d072ac98719c8d318e93cddb265be2936ab42 (patch)
tree5421b1716734ba179eba80176372b9c0ae5f9394 /overlay/cm-common
parentc03feafd6b1426f77e54480747e266834db9c752 (diff)
downloaddevice_samsung_espressowifi-811d072ac98719c8d318e93cddb265be2936ab42.zip
device_samsung_espressowifi-811d072ac98719c8d318e93cddb265be2936ab42.tar.gz
device_samsung_espressowifi-811d072ac98719c8d318e93cddb265be2936ab42.tar.bz2
P31XX: rework overlay
Split CM and AOSP specific overlay Change-Id: Ia1cca2ef645ad6502b8b1e444697107751c9f142
Diffstat (limited to 'overlay/cm-common')
-rw-r--r--overlay/cm-common/frameworks/base/core/res/res/values/cm_arrays.xml35
-rw-r--r--overlay/cm-common/frameworks/base/core/res/res/values/config.xml55
2 files changed, 90 insertions, 0 deletions
diff --git a/overlay/cm-common/frameworks/base/core/res/res/values/cm_arrays.xml b/overlay/cm-common/frameworks/base/core/res/res/values/cm_arrays.xml
new file mode 100644
index 0000000..16ef3c0
--- /dev/null
+++ b/overlay/cm-common/frameworks/base/core/res/res/values/cm_arrays.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013-2014 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Defines the shutdown options shown in the reboot dialog. -->
+ <array name="shutdown_reboot_options" translatable="false">
+ <item>@string/reboot_reboot</item>
+ <item>@string/reboot_soft</item>
+ <item>@string/reboot_recovery</item>
+ <item>@string/reboot_download</item>
+ </array>
+
+ <!-- Do not translate. Defines the shutdown actions passed to the kernel.
+ The first item should be empty for regular reboot. -->
+ <string-array name="shutdown_reboot_actions" translatable="false">
+ <item></item>
+ <item>soft_reboot</item>
+ <item>recovery</item>
+ <item>bootloader</item>
+ </string-array>
+</resources>
diff --git a/overlay/cm-common/frameworks/base/core/res/res/values/config.xml b/overlay/cm-common/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..4b7dfa3
--- /dev/null
+++ b/overlay/cm-common/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2009, The Android Open Source 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. Do not translate. -->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">64</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareWakeKeys">64</integer>
+
+ <!-- Is the device LTE capable -->
+ <bool name="config_lte_capable">false</bool>
+
+</resources>