summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-07-23 18:34:56 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-23 18:34:56 +0000
commit7f63ef380ff8c95ea43edd832a7b986ad362e7cf (patch)
treea95c97b35b9cb55a68a71f3d7f8030d598250d13 /packages
parent7ab264abc214b7e1b7fff9934814020cea5f18fa (diff)
parent9b6a60991453136819a6feeca404e1102e78f735 (diff)
downloadframeworks_base-7f63ef380ff8c95ea43edd832a7b986ad362e7cf.zip
frameworks_base-7f63ef380ff8c95ea43edd832a7b986ad362e7cf.tar.gz
frameworks_base-7f63ef380ff8c95ea43edd832a7b986ad362e7cf.tar.bz2
am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '9b6a60991453136819a6feeca404e1102e78f735': Prevent insanely long passwords from crashing SystemUI
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"