milanf: Wire up StylusKeyHandler

Change-Id: Ib53103bc6e6f4d0703451fa5374407b906f78ec0
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
AnierinB 2025-08-20 00:23:57 +00:00
parent 5dcbded19a
commit 78de88a1f2
2 changed files with 15 additions and 0 deletions

View file

@ -77,5 +77,9 @@ PRODUCT_COPY_FILES += \
# Soong namespaces # Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH) PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
# StylusKeyHandler
PRODUCT_PACKAGES += \
StylusKeyHandler
# Inherit from vendor blobs # Inherit from vendor blobs
$(call inherit-product, vendor/motorola/milanf/milanf-vendor.mk) $(call inherit-product, vendor/motorola/milanf/milanf-vendor.mk)

View file

@ -5,6 +5,17 @@
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
--> -->
<resources> <resources>
<!-- Paths to the libraries that contain device specific key handlers -->
<string-array name="config_deviceKeyHandlerLibs" translatable="false">
<item>/system_ext/app/StylusKeyHandler/StylusKeyHandler.apk</item>
</string-array>
<!-- Names of the key handler classes -->
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
<item>org.lineageos.settings.stylus.KeyHandler</item>
</string-array>
<!-- All the capabilities of the LEDs on this device, stored as a bit field. <!-- All the capabilities of the LEDs on this device, stored as a bit field.
This integer should equal the sum of the corresponding value for each This integer should equal the sum of the corresponding value for each
of the following capabilities present: of the following capabilities present: