Update device entry intent on keyguard vis change
So that the device doesn't unintentionally bypass from a stale deviceEntryIntent=true. Test: manual 1. Enroll udfps 2. Auth with fp on LS 3. Enroll face w/o bypass 4. Auth with face on LS Expected: no bypass Fixes: 194921838 Change-Id: Ief2eb3c6f6883f467252ebf9785fcc95565b7cc3
This commit is contained in:
@@ -2842,6 +2842,11 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
|
||||
mSecureCameraLaunched = false;
|
||||
}
|
||||
|
||||
if (mKeyguardBypassController != null) {
|
||||
// LS visibility has changed, so reset deviceEntryIntent
|
||||
mKeyguardBypassController.setUserHasDeviceEntryIntent(false);
|
||||
}
|
||||
|
||||
for (int i = 0; i < mCallbacks.size(); i++) {
|
||||
KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
|
||||
if (cb != null) {
|
||||
|
||||
Reference in New Issue
Block a user