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

Commit 65574272 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

Change-Id: I3a2c7a68e1f7a0c797c84905c441617bee33ba77
parents 63331825 a4a02a78
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