From 61581478c572a0be692a04cf1afae1859950ea94 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] wade: build & overlay KeyHandler Change-Id: I1bd4c27a646f5deda26f20d99e87ae61f977bde6 --- device.mk | 7 +++++- .../atv/KeyHandler/res/values/config.xml | 22 +++++++++++++++++++ .../lineage/res/res/values/config.xml | 18 +++++++++++++++ 3 files changed, 46 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 3881440..3feaf1e 100644 --- a/device.mk +++ b/device.mk @@ -18,10 +18,15 @@ 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 \ + $(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..3313bb7 --- /dev/null +++ b/overlay-lineage/device/lineage/atv/KeyHandler/res/values/config.xml @@ -0,0 +1,22 @@ + + + + + + 140 + 141 + 142 + + + + + com.android.vending + com.netflix.mediaclient + com.google.android.youtube.tv + + 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