diff options
author | Kevin Chyn <kchyn@google.com> | 2020-01-27 16:46:07 -0800 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2020-01-29 12:08:26 -0800 |
commit | 09a5df3e744135e44a35918dfa3dbfb20f4d20ad (patch) | |
tree | 6ea07c146a83d5fabfb173b2c8347d7dee11e077 /services/java/com/android/server/SystemServer.java | |
parent | 5c8b722dc5f696858a953251eb12268ce8c9e279 (diff) |
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
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
0 files changed, 0 insertions, 0 deletions