aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-11-25 21:36:35 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-11-25 21:41:09 +0100
commit19d234c52bd6b2b779655b543633495dba83ee3a (patch)
treeba37e05d9a76c13877ca16b6c9350ca3eb920ca8
parent11773195d7e4005c01eef20afb346fc8fc8ad25f (diff)
downloadvendor_lineage-19d234c52bd6b2b779655b543633495dba83ee3a.tar.gz
vendor_lineage-19d234c52bd6b2b779655b543633495dba83ee3a.tar.bz2
vendor_lineage-19d234c52bd6b2b779655b543633495dba83ee3a.zip
Power button: Add reboot, airplane, users
The setting file is taken from vendor/replicant from Replicant 6[1] at the following commit: commit e9bf91052812e2e66fb94318fdf58b4bd8adfe93 Author: Zhao Wei Liew <zhaoweiliew@gmail.com> Date: Tue Dec 27 15:12:38 2016 +0800 cm: Rebrand to LineageOS Change-Id: Icf53ce2b98306498cfa815e9fc7377e9a6c583a6 The commit above is the last commit having modified the overlay/common/frameworks/base/core/res/res/values/config.xml file at the time of writing. [1]https://git.replicant.us/replicant/vendor_replicant.git Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--overlay/common/frameworks/base/core/res/res/values/config.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 00000000..f713594f
--- /dev/null
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 The CyanogenMod Project
+ (C) 2017 The LineageOS 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 default set of global actions. Actions may still be disabled or hidden based
+ on the current state of the device. -->
+ <string-array translatable="false" name="config_globalActionsList">
+ <item>power</item>
+ <item>reboot</item>
+ <item>airplane</item>
+ <item>users</item>
+ </string-array>
+</resources>