Loading packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,8 @@ <!-- Message shown when face authentication fails and the pin pad is visible. [CHAR LIMIT=60] --> <string name="keyguard_retry">Swipe up to try again</string> <!-- Message shown when face authentication fails and the pin pad is visible. [CHAR LIMIT=60] --> <string name="accesssibility_keyguard_retry">Swipe up to try Face Unlock again</string> <!-- Message shown when notifying user to unlock in order to use NFC. [CHAR LIMIT=60] --> <string name="require_unlock_for_nfc">Unlock to use NFC</string> Loading packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +7 −1 Original line number Diff line number Diff line Loading @@ -1002,7 +1002,13 @@ public class KeyguardIndicationController { return; // udfps affordance is highlighted, no need to show action to unlock } else if (mKeyguardUpdateMonitor.isFaceEnrolled() && !mKeyguardUpdateMonitor.getIsFaceAuthenticated()) { String message = mContext.getString(R.string.keyguard_retry); String message; if (mAccessibilityManager.isEnabled() || mAccessibilityManager.isTouchExplorationEnabled()) { message = mContext.getString(R.string.accesssibility_keyguard_retry); } else { message = mContext.getString(R.string.keyguard_retry); } mStatusBarKeyguardViewManager.setKeyguardMessage(message, mInitialTextColorState); } } else { Loading Loading
packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -946,6 +946,8 @@ <!-- Message shown when face authentication fails and the pin pad is visible. [CHAR LIMIT=60] --> <string name="keyguard_retry">Swipe up to try again</string> <!-- Message shown when face authentication fails and the pin pad is visible. [CHAR LIMIT=60] --> <string name="accesssibility_keyguard_retry">Swipe up to try Face Unlock again</string> <!-- Message shown when notifying user to unlock in order to use NFC. [CHAR LIMIT=60] --> <string name="require_unlock_for_nfc">Unlock to use NFC</string> Loading
packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +7 −1 Original line number Diff line number Diff line Loading @@ -1002,7 +1002,13 @@ public class KeyguardIndicationController { return; // udfps affordance is highlighted, no need to show action to unlock } else if (mKeyguardUpdateMonitor.isFaceEnrolled() && !mKeyguardUpdateMonitor.getIsFaceAuthenticated()) { String message = mContext.getString(R.string.keyguard_retry); String message; if (mAccessibilityManager.isEnabled() || mAccessibilityManager.isTouchExplorationEnabled()) { message = mContext.getString(R.string.accesssibility_keyguard_retry); } else { message = mContext.getString(R.string.keyguard_retry); } mStatusBarKeyguardViewManager.setKeyguardMessage(message, mInitialTextColorState); } } else { Loading