summaryrefslogtreecommitdiff
path: root/aidl/vibrator
diff options
context:
space:
mode:
authorjabashque <jabashque@gmail.com>2022-05-18 22:22:23 -0700
committerSemavi Ulusoy <doc.divxm@gmail.com>2022-05-19 23:34:53 +0300
commit190e6dd646661ffd4ab074be057792cd1a7830e3 (patch)
tree443fc0e0d7cf65697d9ca4e47eb59c3e386a678b /aidl/vibrator
parentbbd01133b06b71eedd3fb910876ca3f1cd9a9ea5 (diff)
hidl: fingerprint: call onFingerUp() on errorHEADs12.1
The way the fingerprint service handles FINGERPRINT_ERROR messages allows for situations where the user can end up turning off the screen while notify_fppress is set to 1. This results in situations where the screen backlight does not turn on at all when turning on the panel, which is not an ideal user experience. Fix this by calling `onFingerUp()` when handling FINGERPRINT_ERROR messages. `onFingerUp()` also sets `isCancelled` to 0, but we likely do not want that to happen for FINGERPRINT_ERROR messages, so move that line over to `onFingerDown()` instead. Change-Id: Ic2754249083c30a9b3b150b825357d894814fe84
Diffstat (limited to 'aidl/vibrator')
0 files changed, 0 insertions, 0 deletions