Merge "Show swipe up to open message on faceAuth from AOD2" into sc-qpr1-dev

This commit is contained in:
TreeHugger Robot
2021-09-17 13:20:05 +00:00
committed by Android (Google) Code Review

View File

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