Merge "Do not let device sleep after successful auth" into qt-r1-dev
This commit is contained in:
@@ -237,6 +237,7 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
|
||||
MIN_DRAG_SIZE, getResources().getDisplayMetrics())
|
||||
&& !mUpdateMonitor.isFaceDetectionRunning()) {
|
||||
mUpdateMonitor.requestFaceAuth();
|
||||
mCallback.userActivity();
|
||||
showMessage(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,6 +260,7 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback {
|
||||
boolean unlockAllowed = mKeyguardBypassController.onBiometricAuthenticated(
|
||||
biometricSourceType);
|
||||
if (unlockAllowed) {
|
||||
mKeyguardViewMediator.userActivity();
|
||||
startWakeAndUnlock(biometricSourceType);
|
||||
} else {
|
||||
Log.d(TAG, "onBiometricAuthenticated aborted by bypass controller");
|
||||
|
||||
Reference in New Issue
Block a user