5/n: Update some biometric logcats

Bug: 181984005
Test: Builds

Change-Id: I678ee0e797993f39159a4c205c07e45c04220bd0
This commit is contained in:
Kevin Chyn
2021-03-23 14:52:33 -07:00
parent 86e98080b1
commit 8a5c4b51a3
2 changed files with 2 additions and 5 deletions

View File

@@ -108,14 +108,14 @@ public class UserAwareBiometricScheduler extends BiometricScheduler {
if (nextUserId == currentUserId) {
super.startNextOperationIfIdle();
} else if (currentUserId == UserHandle.USER_NULL) {
Slog.d(getTag(), "User switch required, current user null, next: " + nextUserId);
final BaseClientMonitor startClient =
mUserSwitchCallback.getStartUserClient(nextUserId);
Slog.d(getTag(), "[Starting User] " + startClient);
startClient.start(mClientFinishedCallback);
} else {
final BaseClientMonitor stopClient = mUserSwitchCallback
.getStopUserClient(currentUserId);
Slog.d(getTag(), "User switch required, current: " + currentUserId
Slog.d(getTag(), "[Stopping User] current: " + currentUserId
+ ", next: " + nextUserId + ". " + stopClient);
stopClient.start(mClientFinishedCallback);
}

View File

@@ -502,9 +502,6 @@ public class FaceService extends SystemService implements BiometricServiceCallba
return false;
}
final boolean enrolled = provider.getEnrolledFaces(sensorId, userId).size() > 0;
Slog.d(TAG, "hasEnrolledFaces, sensor: " + sensorId + ", enrolled: " + enrolled);
return provider.getEnrolledFaces(sensorId, userId).size() > 0;
}