Merge "Show swipe up to open message on faceAuth from AOD2" into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0efdcfc86b
@@ -800,7 +800,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;
|
||||
}
|
||||
|
||||
@@ -811,7 +813,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 */);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user