summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-07-21 13:27:22 -0700
committerAdrian Roos <roosa@google.com>2015-07-22 22:10:57 +0000
commit9b6a60991453136819a6feeca404e1102e78f735 (patch)
treef9502250747b572c5a2adc6fdcf0cf284a406455 /packages
parent742bfa809cf2c022d690f84b4213e908ee66e8aa (diff)
downloadframeworks_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.xml1
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"