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

Commit 14a70fff 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: Ia3ab687433f5d83f2a1122e39ac82a5c404a8d04
parents 60f71d86 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