Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d2fd576 authored by Ilya Matyukhin's avatar Ilya Matyukhin
Browse files

Remove retry in Fingerprint21 getService

The retry was preventing the system from booting on devices that
were failing to load the fingerprint HAL.

Instead of retrying immediately, the system will try to retrieve the HAL
again only when it's needed. On a misconfigured or bad device where the
HAL cannot be retrieved, the system will simply log an error and move
on.

The retry was originally introduced to fix the unreliable isUdfps check.
Sometimes the HAL wouldn't be loaded early enough, and that would cause
the system to think that the sensor is not a UDFPS, as a side effect.

The check is fixed in this change by relying on the presence of a UDFPS
config in config.xml.

Bug: 178053992
Bug: 179465449
Test: the absence/presence of UDFPS is detected correctly
Test: the system boots with manually deleted HAL binary
Change-Id: I5d3b81e26f6ed421d32691c6cab55ef90f4b5ec8
parent ca389a64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment