Commit Graph

4 Commits

Author SHA1 Message Date
Lukas0610 b0b7834861 fingerprint: send cancel-message to system
Android expects a FINGERPRINT_ERROR_CANCELED error-message if a
fingerprint authentication-requested was cancelled.

As bauth doesn't deliver such a message on its own, we use the
already notify-wrapper to send a message to Android if the
authentication was cancelled by bauth to allow a proper operation
of the fingerprint-service.

Some devices (hero, hero2) with the fingerprint scanner embedded in
the home button need this for the "config_fingerprintWakeAndUnlock"
option to work reliably.

Change-Id: Id5ec866a7608885925687a1927e0e6085e9b6cff
Ref: BUGBASH-1422
2018-04-10 00:22:33 +02:00
LuK1337 bdb254d989 fingerprint: bauth: Bump version to 2.1
* Required for fingerprint HIDL HAL in O.

Change-Id: Iec8450521a51bbfddf2225274a7a6982baa42561
2017-11-26 19:22:54 +00:00
Jesse Chan cd60dd84b0 fingerprint: bauth: convert % completed to remaining
* Samsung uses fingerprint enrollment % completed
  while AOSP uses fingerprint sample remaining.

* This patch converts this data to AOSP-friendly one via (x = 100 - x).

Change-Id: I27034cb148e0f33f7d3efae9c75123715452f178
Signed-off-by: Jesse Chan <jc@linux.com>
2017-02-09 17:31:48 +00:00
Jesse Chan b23aaf793d add Samsung BAUTH Fingerprint HAL
Change-Id: I3c0d3e2a0f9b77f0202cbdb0a75a00b760afcd8c
2017-02-09 17:29:54 +00:00