summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-07-23 18:47:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-23 18:47:07 +0000
commit50ed152ab646b00714947a9cf75e01e618b16c02 (patch)
tree785f8fcbdc8f64c8512a982a8b46a81d79f92e1d /packages
parent7720eb18c1c2fe06e8f4b2f6e2936a4072494da8 (diff)
parent7f63ef380ff8c95ea43edd832a7b986ad362e7cf (diff)
downloadframeworks_base-50ed152ab646b00714947a9cf75e01e618b16c02.zip
frameworks_base-50ed152ab646b00714947a9cf75e01e618b16c02.tar.gz
frameworks_base-50ed152ab646b00714947a9cf75e01e618b16c02.tar.bz2
am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit '7f63ef380ff8c95ea43edd832a7b986ad362e7cf': 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 b1b2631..c04fad4 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"