summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/biometrics/face/FaceService.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/services/core/java/com/android/server/biometrics/face/FaceService.java b/services/core/java/com/android/server/biometrics/face/FaceService.java
index e43f4f9e3c3b..74363751c73a 100644
--- a/services/core/java/com/android/server/biometrics/face/FaceService.java
+++ b/services/core/java/com/android/server/biometrics/face/FaceService.java
@@ -1185,11 +1185,7 @@ public class FaceService extends BiometricServiceBase {
mCurrentUserId = userId;
mCustomFaceService.setCurrentUserId(mCurrentUserId);
if (mCustomFaceService.getService(mCurrentUserId) != null) {
- long authId = 0;
- if (hasEnrolledBiometrics(mCurrentUserId)) {
- authId = (long) mCustomFaceService.getAuthenticatorId();
- }
- mAuthenticatorIds.put(userId, authId);
+ mAuthenticatorIds.put(userId, (long) 1);
} else {
mCustomFaceService.callForBind(userId);
Slog.w(TAG, "updateActiveGroup(): Face service not started!");