summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-07-24 19:45:24 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-24 19:45:24 +0000
commita65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d (patch)
treea05ebbb8b42c22a80b9de94469cd23d44c4270ba /packages
parent2c3b9fb86b9fb26b01fe5af2067f6513bf06acf3 (diff)
parentb2f8c716e8d2cf575c690b5a360c4efdd9f06bc8 (diff)
downloadframeworks_base-a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d.zip
frameworks_base-a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d.tar.gz
frameworks_base-a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d.tar.bz2
am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit 'b2f8c716e8d2cf575c690b5a360c4efdd9f06bc8': 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"