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