diff options
author | Adrian Roos <roosa@google.com> | 2015-07-21 13:27:22 -0700 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2015-07-22 22:10:57 +0000 |
commit | 9b6a60991453136819a6feeca404e1102e78f735 (patch) | |
tree | f9502250747b572c5a2adc6fdcf0cf284a406455 /packages | |
parent | 742bfa809cf2c022d690f84b4213e908ee66e8aa (diff) | |
download | frameworks_base-9b6a60991453136819a6feeca404e1102e78f735.zip frameworks_base-9b6a60991453136819a6feeca404e1102e78f735.tar.gz frameworks_base-9b6a60991453136819a6feeca404e1102e78f735.tar.bz2 |
Prevent insanely long passwords from crashing SystemUI
Bug: 22214934
Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Keyguard/res/layout/keyguard_password_view.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Keyguard/res/layout/keyguard_password_view.xml b/packages/Keyguard/res/layout/keyguard_password_view.xml index b7d5d30..5433c4e 100644 --- a/packages/Keyguard/res/layout/keyguard_password_view.xml +++ b/packages/Keyguard/res/layout/keyguard_password_view.xml @@ -58,6 +58,7 @@ android:textSize="16sp" android:textAppearance="?android:attr/textAppearanceMedium" android:imeOptions="flagForceAscii|actionDone" + android:maxLength="500" /> <ImageView android:id="@+id/switch_ime_button" |