From b68ebf2ff9e933be4e7f735403a30ee3550202fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timi=20Rautam=C3=A4ki?= Date: Wed, 1 Sep 2021 16:13:30 +0000 Subject: [PATCH] dopinder: build & overlay KeyHandler Change-Id: I1bd4c27a646f5deda26f20d99e87ae61f977bde6 --- device.mk | 7 ++++- .../atv/KeyHandler/res/values/config.xml | 26 +++++++++++++++++++ .../lineage/res/res/values/config.xml | 18 +++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml create mode 100644 overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml diff --git a/device.mk b/device.mk index f8f634f..2519f44 100644 --- a/device.mk +++ b/device.mk @@ -18,10 +18,15 @@ 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 \ + $(DEVICE_PATH)/overlay-lineage diff --git a/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml b/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml new file mode 100644 index 0000000..f2f6ef2 --- /dev/null +++ b/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml @@ -0,0 +1,26 @@ + + + + + + 137 + 138 + 140 + 141 + 176 + + + + + com.disney.disneyplus + com.hbo.hbonow + com.google.android.youtube.tv + com.netflix.mediaclient + com.android.tv.settings + + diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml new file mode 100644 index 0000000..59d47a9 --- /dev/null +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -0,0 +1,18 @@ + + + + + + /system/priv-app/LineageParts/LineageParts.apk + /system/priv-app/KeyHandler/KeyHandler.apk + + + + + org.lineageos.lineageparts.gestures.KeyHandler + org.lineageos.settings.device.KeyHandler + + -- 2.20.1