Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5970d2aa authored by Haining Chen's avatar Haining Chen Committed by Android (Google) Code Review
Browse files

Merge "Update Keyguard and bouncer strings for adaptive auth" into main

parents 12785015 46971aca
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1437,8 +1437,11 @@
    <!-- Indication on the keyguard that appears when a trust agents unlocks the device. [CHAR LIMIT=40] -->
    <string name="keyguard_indication_trust_unlocked">Kept unlocked by TrustAgent</string>

    <!-- Message asking the user to authenticate with primary authentication methods (PIN/pattern/password) or biometrics after the device is locked by adaptive auth. [CHAR LIMIT=60] -->
    <string name="kg_prompt_after_adaptive_auth_lock">Theft protection\nDevice locked, too many unlock attempts</string>
    <!-- Message asking the user to authenticate with primary authentication methods (PIN/pattern/password) or biometrics after the device is locked by adaptive auth. [CHAR LIMIT=70] -->
    <string name="kg_prompt_after_adaptive_auth_lock">Device was locked, too many authentication attempts</string>

    <!-- Indication on the keyguard that appears after the device is locked by adaptive auth. [CHAR LIMIT=60] -->
    <string name="keyguard_indication_after_adaptive_auth_lock">Device locked\nFailed authentication</string>

    <!-- Accessibility string for current zen mode and selected exit condition. A template that simply concatenates existing mode string and the current condition description. [CHAR LIMIT=20] -->
    <string name="zen_mode_and_condition"><xliff:g id="zen_mode" example="Priority interruptions only">%1$s</xliff:g>. <xliff:g id="exit_condition" example="For one hour">%2$s</xliff:g></string>
+2 −2
Original line number Diff line number Diff line
@@ -757,8 +757,8 @@ public class KeyguardIndicationController {
            mRotateTextViewController.updateIndication(
                    INDICATION_TYPE_ADAPTIVE_AUTH,
                    new KeyguardIndication.Builder()
                            .setMessage(mContext
                                    .getString(R.string.kg_prompt_after_adaptive_auth_lock))
                            .setMessage(mContext.getString(
                                    R.string.keyguard_indication_after_adaptive_auth_lock))
                            .setTextColor(mInitialTextColorState)
                            .build(),
                    true);