Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fingerprint] Ignore powerkey during fingerprint enroll. Fixes JB#41217
When enrolling fingerprints in devices where powerkey doubles as fingerprint sensor (e.g. f5121 / Sony Xperia X), it easily happens that the user presses the button all the way down - screen is blanked, which then causes cancellation of the enroll operation and the user must start all over again. Track fingerprint service availability and state on D-Bus. Ignore powerkey presses when enroll operation is in progress. Interpret fingerprint acquisition notifications as user activity during enroll, identify and verify operations - so that display blanking timers get reset every time user places finger on the sensor surface. The code in fingerprint plugin is derived from usb mode tracking plugin at modules/usbmode.c. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
10 changed files
with
799 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.