Show swipe up to open message on faceAuth from AOD2

Previously the message was dropped.

Test: manual
Fixes: 199221758
Change-Id: I990debae712193a6905b618eda9311c2e9582c6c
This commit is contained in:
Beverly
2021-09-16 13:00:12 -04:00
parent 906b2ed5a1
commit f3593a976f

View File

@@ -798,7 +798,9 @@ public class KeyguardIndicationController {
* Show message on the keyguard for how the user can unlock/enter their device.
*/
public void showActionToUnlock() {
if (mDozing) {
if (mDozing
&& !mKeyguardUpdateMonitor.getUserCanSkipBouncer(
KeyguardUpdateMonitor.getCurrentUser())) {
return;
}
@@ -809,7 +811,7 @@ public class KeyguardIndicationController {
String message = mContext.getString(R.string.keyguard_retry);
mStatusBarKeyguardViewManager.showBouncerMessage(message, mInitialTextColorState);
}
} else if (mKeyguardUpdateMonitor.isScreenOn()) {
} else {
showTransientIndication(mContext.getString(R.string.keyguard_unlock),
false /* isError */, true /* hideOnScreenOff */);
}