Revert "wade: build & overlay KeyHandler"
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 13 Dec 2021 19:20:43 +0000 (20:20 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 13 Dec 2021 19:26:44 +0000 (20:26 +0100)
* Commonized now.

This reverts commit 61581478c572a0be692a04cf1afae1859950ea94.

Change-Id: Iaeac5e014b96a89da92a3512d76eade2ef0b4221

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 2ccacba4f029babfb7fdab61d055d01dff45b732..08d3693acde1e3c3993c64ee8b8c34de4a1bab8d 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -18,17 +18,12 @@ PRODUCT_PACKAGES += \
 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 += \
     dhd
 
 ## Overlays
 DEVICE_PACKAGE_OVERLAYS += \
-    $(DEVICE_PATH)/overlay \
-    $(DEVICE_PATH)/overlay-lineage
+    $(DEVICE_PATH)/overlay
 
 include hardware/amlogic/kernel-modules/dhd-driver/firmware/firmware.mk
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 3313bb7..0000000
+++ /dev/null
@@ -1,22 +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>140</item>
-        <item>141</item>
-        <item>142</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.android.vending</item>
-        <item>com.netflix.mediaclient</item>
-        <item>com.google.android.youtube.tv</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>