summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Han <416810799@qq.com>2018-09-28 10:21:01 +0800
committerBruno Martins <bgcngm@gmail.com>2018-10-08 12:21:02 +0100
commit3762fcdc931fa9199ede8eff06cf208ab24d99e6 (patch)
tree41d4b449b4917398d7547e35fca20f5317dab20c
parent1bc0efb363b4e732d31abc83ced6faa704c5342a (diff)
m8-common: Nuke redundant hardware key overlays
* These are the default values now. Change-Id: Id375a3c5dcd80bf91e03c1879dfa6974dd83a9d1
-rw-r--r--m8-common.mk5
-rw-r--r--overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml45
2 files changed, 2 insertions, 48 deletions
diff --git a/m8-common.mk b/m8-common.mk
index b46397a..311a91c 100644
--- a/m8-common.mk
+++ b/m8-common.mk
@@ -1,6 +1,6 @@
#
# Copyright (C) 2015-2016 The CyanogenMod Project
-# 2017 The LineageOS Project
+# 2017-2018 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.
@@ -25,8 +25,7 @@ $(call inherit-product, device/htc/msm8974-common/msm8974-common.mk)
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
- $(LOCAL_PATH)/overlay \
- $(LOCAL_PATH)/overlay-lineage
+ $(LOCAL_PATH)/overlay
# Permissions
PRODUCT_COPY_FILES += \
diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
deleted file mode 100644
index 8689c52..0000000
--- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (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>
- <!-- 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>
-</resources>