summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-04-09 20:53:02 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2024-04-11 16:21:03 -0700
commit494471037600ac98e538a1bd07df8ad026a78b29 (patch)
treed3794d81b05def6d346757208a25d81ba237209b /libs/androidfw/StringPool.cpp
parentcc057fbd698b781d251a4736809d7f19fbbb7e4c (diff)
[flexiglass] Ignores PIN input past the hinted length.
If the user already put in a PIN that's the same length as the hinted length, ignore any further digit input. Fix: 330484299 Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Test: added unit tests Test: manually verified that quickly entering numbers past the correct hinted text stops at the max length and unlocks the device Test: that repeating the above works Test: that leaving the bouncer when the PIN is partially entered and returning correctly clears out the entered PIN and correctly accepts the correct PIN to unlock Test: that entering the wrong PIN fails properly Test: that entering a PIN longer than the real one when not hinted and not autoconfirm still works as well Change-Id: Ie6b429f906d88a63cae4c410fd2b97d247288c4c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions