aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2016-06-02 14:44:13 +0200
committerdoc HD <doc.divxm@gmail.com>2016-06-02 21:33:41 +0300
commit8d2605c2b0ff61a1a8e96a676ac238ff893f8759 (patch)
tree66e4bff228f892cdca75641642e3342900a292f9
parent50a986ae6b18f26f05270a7d664603b9b13a423e (diff)
titan: overlay: Remove soft reboot option
* It seems to crash sensors HAL causing phone to bootloop until user hard resets his device. Change-Id: I225c254c42d09661dbff78d6f163fad9f9ceaa50
-rw-r--r--overlay/frameworks/base/core/res/res/values/cm_arrays.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/cm_arrays.xml b/overlay/frameworks/base/core/res/res/values/cm_arrays.xml
new file mode 100644
index 0000000..46d321d
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/cm_arrays.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013-2015 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_recovery</item>
+ <item>@string/reboot_bootloader</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>recovery</item>
+ <item>bootloader</item>
+ </string-array>
+</resources>