Commit Graph

4 Commits

Author SHA1 Message Date
LuK1337
645327fe29 KeyHandler: Use mode specific vibration effects
NOTE: This change depends on following SystemUI change:
- https://review.lineageos.org/c/305900
- https://android-review.googlesource.com/c/1648967

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3019
Change-Id: Ifc16a469311c4dd7ce9ef8633ab66546ef4e6ede
2022-04-11 17:55:13 +02:00
Ashwin R C
9426932d60 KeyHandler: Use VibrationEffect
* Also update haptic feedback logic

Change-Id: I722022d014d9e88ef267a5563b43fee87ef02b6b
2022-04-11 17:55:13 +02:00
Anton Hansson
05bd29192f KeyHandler: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
2022-04-11 17:55:13 +02:00
Luca Stefani
39cb612e84 Add a KeyHandler for tri-state-key events
Change-Id: I22a7ee5b7eec5667b14f1a587a6d0138e77dc0f3
2022-04-11 17:55:13 +02:00