Show 'press to open' after face auth success
When UDFPS is supported on the device, show 'press to open' message instead of 'swipe to open' since there will always be a fingerprint or unlock icon to press to enter the device for devices that support udfps. Test: manual Fixes: 209867032 Change-Id: I25b280997bc4b9e10f42e9e5882b6eec1d897ed1
This commit is contained in:
@@ -887,7 +887,13 @@ public class KeyguardIndicationController {
|
||||
mStatusBarKeyguardViewManager.showBouncerMessage(message, mInitialTextColorState);
|
||||
}
|
||||
} else {
|
||||
showBiometricMessage(mContext.getString(R.string.keyguard_unlock));
|
||||
if (mKeyguardUpdateMonitor.isUdfpsSupported()
|
||||
&& mKeyguardUpdateMonitor.getUserCanSkipBouncer(
|
||||
KeyguardUpdateMonitor.getCurrentUser())) {
|
||||
showBiometricMessage(mContext.getString(R.string.keyguard_unlock_press));
|
||||
} else {
|
||||
showBiometricMessage(mContext.getString(R.string.keyguard_unlock));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user