Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Use a general message when a PIN is required after booting or after s…
Browse files Browse the repository at this point in the history
…ome time

This prevents certain information from being leaked if an attacker gets
their hands on a phone.

Closes GrapheneOS/os-issue-tracker#2607
  • Loading branch information
neelchauhan committed May 24, 2024
1 parent 61787c4 commit 4e6b213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/SystemUI/res-keyguard/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<string name="kg_prompt_after_dpm_lock">For added security, device was locked by work policy</string>

<!-- Message shown for pin/pattern/password when we are on bouncer after user triggered lockdown. [CHAR LIMIT=70] -->
<string name="kg_prompt_after_user_lockdown_pin">PIN is required after lockdown</string>
<string name="kg_prompt_after_user_lockdown_pin">Enter your PIN</string>

<!-- Message shown for pin/pattern/password when we are on bouncer after user triggered lockdown. [CHAR LIMIT=70] -->
<string name="kg_prompt_after_user_lockdown_password">Password is required after lockdown</string>
Expand Down Expand Up @@ -290,7 +290,7 @@
<string name="kg_prompt_reason_restart_pattern">Pattern is required after device restarts</string>

<!-- An explanation text that the pin needs to be entered since the device has just been restarted. [CHAR LIMIT=70] -->
<string name="kg_prompt_reason_restart_pin">PIN is required after device restarts</string>
<string name="kg_prompt_reason_restart_pin">Enter your PIN</string>

<!-- An explanation text that the password needs to be entered since the device has just been restarted. [CHAR LIMIT=70] -->
<string name="kg_prompt_reason_restart_password">Password is required after device restarts</string>
Expand Down

0 comments on commit 4e6b213

Please sign in to comment.