This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/hidl/fingerprint
jabashque dfba74a283 fingerprint: Reset dimlayer HBM + fp press state on error
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 `setDimlayerHbm(0)` and `setFpPress(0)` when
handling FINGERPRINT_ERROR messages.

Change-Id: Ic2754249083c30a9b3b150b825357d894814fe84
2022-06-10 20:44:28 +02:00
..