From 8cf5064c4057953a9fb4d0c8e91f61159c8e69ca Mon Sep 17 00:00:00 2001 From: AnierinB Date: Wed, 20 Aug 2025 00:23:57 +0000 Subject: [PATCH] milanf: Wire up StylusKeyHandler Change-Id: Ib53103bc6e6f4d0703451fa5374407b906f78ec0 Signed-off-by: AnierinB --- device.mk | 4 ++++ .../device/LineagePlatform/res/values/config.xml | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/device.mk b/device.mk index 3d6dec3..f451511 100644 --- a/device.mk +++ b/device.mk @@ -77,5 +77,9 @@ PRODUCT_COPY_FILES += \ # Soong namespaces PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH) +# StylusKeyHandler +PRODUCT_PACKAGES += \ + StylusKeyHandler + # Inherit from vendor blobs $(call inherit-product, vendor/motorola/milanf/milanf-vendor.mk) diff --git a/resource-overlay/device/LineagePlatform/res/values/config.xml b/resource-overlay/device/LineagePlatform/res/values/config.xml index ddc844b..7c6a5b0 100644 --- a/resource-overlay/device/LineagePlatform/res/values/config.xml +++ b/resource-overlay/device/LineagePlatform/res/values/config.xml @@ -50,4 +50,16 @@ For example, a device with notification and battery lights that supports pulsating and RGB control would set this config to 75. --> 232 + + + + /system_ext/app/StylusKeyHandler/StylusKeyHandler.apk + /system_ext/priv-app/LineageParts/LineageParts.apk + + + + + org.lineageos.settings.stylus.KeyHandler + org.lineageos.lineageparts.gestures.KeyHandler +