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

Skip to content
Commit 09a5df3e authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Improve checkAndGetAuthenticators

1) Device credential and biometrics results are all calculated within
   checkAndGetAuthenticators
2) DevicePolicy restrictions are now appropriately reflected across all
   use cases

Fixes issues where:
  1) When device credential and biometric are both allowed, but none
     are set up. Returns BIOMETRIC_ERROR_NO_BIOMETRICS now
  2) If DevicePolicy prohibits a biometric, we no longer update the
     strength, detected, enrolled fields, which could cause unexpected
     side-effects in the result

Bug: 148398804
Test: atest BiometricServiceTest

Change-Id: Iac561b41574f132fd92fed0f8a5b4baa74f15c01
parent 5c8b722d
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