Revert "dopinder: build & overlay KeyHandler" lineage-18.1
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 13 Dec 2021 19:20:54 +0000 (20:20 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 13 Dec 2021 19:24:29 +0000 (20:24 +0100)
* Commonized now.

This reverts commit b68ebf2ff9e933be4e7f735403a30ee3550202fb.

Change-Id: I280e52f84daba43602ad0ee8747de0ee0ddfc2dc

device.mk
overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml [deleted file]
overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml [deleted file]

index 2519f44990e33e654aed1244057c7b64cf7126f0..f8f634fccd7d067c77d48d271fadcfec9c22d1ee 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -18,15 +18,10 @@ include hardware/realtek/rtkbt/rtkbt.mk
 PRODUCT_COPY_FILES += \
     $(DEVICE_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
 
-## Keyhandler
-PRODUCT_PACKAGES += \
-    KeyHandler
-
 ## Kernel Modules
 PRODUCT_PACKAGES += \
     8822cs
 
 ## Overlays
 DEVICE_PACKAGE_OVERLAYS += \
-    $(DEVICE_PATH)/overlay \
-    $(DEVICE_PATH)/overlay-lineage
+    $(DEVICE_PATH)/overlay
diff --git a/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml b/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml
deleted file mode 100644 (file)
index f2f6ef2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2021 The LineageOS Project
-
-     SPDX-License-Identifier: Apache-2.0
--->
-<resources>
-    <!-- Array of keycodes for special keys on device.
-         Order & size must match with keyhandler_packages -->
-    <integer-array name="keyhandler_keycodes">
-        <item>137</item>
-        <item>138</item>
-        <item>140</item>
-        <item>141</item>
-        <item>176</item>
-    </integer-array>
-
-    <!-- Array of packages for special keys on device.
-         Order & size must match with keyhandler_keycodes -->
-    <string-array name="keyhandler_packages">
-        <item>com.disney.disneyplus</item>
-        <item>com.hbo.hbonow</item>
-        <item>com.google.android.youtube.tv</item>
-        <item>com.netflix.mediaclient</item>
-        <item>com.android.tv.settings</item>
-    </string-array>
-</resources>
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 (file)
index 59d47a9..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2021 The LineageOS Project
-
-     SPDX-License-Identifier: Apache-2.0
--->
-<resources>
-    <!-- Paths to the libraries that contain device specific key handlers -->
-    <string-array name="config_deviceKeyHandlerLibs" translatable="false">
-        <item>/system/priv-app/LineageParts/LineageParts.apk</item>
-        <item>/system/priv-app/KeyHandler/KeyHandler.apk</item>
-    </string-array>
-
-    <!-- Names of the key handler classes -->
-    <string-array name="config_deviceKeyHandlerClasses" translatable="false">
-        <item>org.lineageos.lineageparts.gestures.KeyHandler</item>
-        <item>org.lineageos.settings.device.KeyHandler</item>
-    </string-array>
-</resources>