From: Nolen Johnson <johnsonnolen@gmail.com> Date: Mon, 13 Dec 2021 19:20:54 +0000 (+0100) Subject: Revert "dopinder: build & overlay KeyHandler" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_dopinder.git Revert "dopinder: build & overlay KeyHandler" * Commonized now. This reverts commit b68ebf2ff9e933be4e7f735403a30ee3550202fb. Change-Id: I280e52f84daba43602ad0ee8747de0ee0ddfc2dc --- diff --git a/device.mk b/device.mk index 2519f44..f8f634f 100644 --- 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 index f2f6ef2..0000000 --- a/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml +++ /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 index 59d47a9..0000000 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ /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>