milanf: Wire up StylusKeyHandler
Change-Id: Ib53103bc6e6f4d0703451fa5374407b906f78ec0 Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
parent
5dcbded19a
commit
8cf5064c40
2 changed files with 16 additions and 0 deletions
|
@ -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)
|
||||||
|
|
|
@ -50,4 +50,16 @@
|
||||||
For example, a device with notification and battery lights that supports
|
For example, a device with notification and battery lights that supports
|
||||||
pulsating and RGB control would set this config to 75. -->
|
pulsating and RGB control would set this config to 75. -->
|
||||||
<integer name="config_deviceLightCapabilities" translatable="false">232</integer>
|
<integer name="config_deviceLightCapabilities" translatable="false">232</integer>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
<item>/system_ext/priv-app/LineageParts/LineageParts.apk</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Names of the key handler classes -->
|
||||||
|
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
|
||||||
|
<item>org.lineageos.settings.stylus.KeyHandler</item>
|
||||||
|
<item>org.lineageos.lineageparts.gestures.KeyHandler</item>
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue