sdm845-common: Add a KeyHandler for tri-state-key events

Change-Id: I22a7ee5b7eec5667b14f1a587a6d0138e77dc0f3
This commit is contained in:
Luca Stefani
2018-07-14 20:29:40 +02:00
committed by LuK1337
parent 89203b453e
commit 3c7edbc4a3
5 changed files with 136 additions and 0 deletions

View File

@@ -20,6 +20,18 @@
<integer name="config_proximityCheckTimeout">100</integer>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
<!-- Paths to the libraries that contain device specific key handlers -->
<string-array name="config_deviceKeyHandlerLibs" translatable="false">
<item>/system/priv-app/LineageParts/LineageParts.apk</item>
<item>/system/priv-app/KeyHandler/KeyHandler.apk</item>
</string-array>
<!-- Names of the key handler classes -->
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
<item>org.lineageos.lineageparts.gestures.KeyHandler</item>
<item>org.lineageos.settings.device.KeyHandler</item>
</string-array>
<!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present: