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

Commit e94953ad 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: I55bc333472b742d5b6edd06456dfe14193fd0779
parents 712fc079 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