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

Commit 322bc7e5 authored by Ilya Matyukhin's avatar Ilya Matyukhin Committed by android-build-merger
Browse files

Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev am: a4a02a78

am: e94953ad

Change-Id: Iee3e215f4bb89276b26ac00e845d78caa7ec9234
parents cbadaa42 e94953ad
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -223,7 +223,8 @@ public class FaceService extends BiometricServiceBase {

        @Override
        public boolean wasUserDetected() {
            return mLastAcquire != FaceManager.FACE_ACQUIRED_NOT_DETECTED;
            return mLastAcquire != FaceManager.FACE_ACQUIRED_NOT_DETECTED
                    && mLastAcquire != FaceManager.FACE_ACQUIRED_SENSOR_DIRTY;
        }

        @Override