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

Commit 8a5c4b51 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

5/n: Update some biometric logcats

Bug: 181984005
Test: Builds

Change-Id: I678ee0e797993f39159a4c205c07e45c04220bd0
parent 86e98080
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
        }
+0 −3
Original line number Diff line number Diff line
@@ -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;
        }