Merge "Treat SENSOR_DIRTY as user not detected" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4a02a7854
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user