Resolve face detection related issues
1. Add createdAt so that repeated updates are still propagated 2. Do not use detection cancellation signal to skip running detection. Unlike face auth, detection doesn't have a callback to indicate when detection is done cancelling. 3. Change KeyguardUpdateMonitor to run the same code it is running for the old face auth system Fixes: 285526875 Test: atest DeviceEntryFaceAuthRepositoryTest Test: manually 1. Enable Extend Unlock/Smart Unlock and add the current location as trusted location 2. Enroll face and fp, enable bypass lockscreen under face. 3. Go to sleep by pressing the power button 4. Wake up the device and go to the lockscreen. 5. Device should be unlocked based on current location and show the unlocked icon 6. Tap on the lockscreen while keeping the face in front of the screen 7. Face detection should run and dismiss the lockscreen. Change-Id: Ia4b541e0ec5c6e6f876f4a21e788691e96e38870
Loading
Please register or sign in to comment