Return correct error when HW there is no biometric hardware
Devices that have no biometric hardware should still get the BIOMETRIC_ERROR_HW_NOT_PRESENT error. Currently they get the BIOMETRIC_ERROR_HW_UNAVAILABLE error which is slightly wrong. Fixes: 119109074 Test: Builds Change-Id: I32134a35fd2844bc6a4a64ded9695ae596496ef2
This commit is contained in:
@@ -1619,7 +1619,7 @@ public final class SystemServer {
|
||||
|
||||
if (hasFeatureFace || hasFeatureIris || hasFeatureFingerprint) {
|
||||
// Start this service after all biometric services.
|
||||
traceBeginAndSlog("StartBiometricPromptService");
|
||||
traceBeginAndSlog("StartBiometricService");
|
||||
mSystemServiceManager.startService(BiometricService.class);
|
||||
traceEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user