summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-07-24 22:41:26 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-24 22:41:26 +0000
commit384b5d20b64c279f29eb494bae37d039c652f492 (patch)
tree881d99acbd5aa4f8cb33eaa2bca44b73fa27d2f8 /packages
parent68fbd6a4968eb6e5f3d74f471387c5e62981fba2 (diff)
parenta65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d (diff)
downloadframeworks_base-384b5d20b64c279f29eb494bae37d039c652f492.zip
frameworks_base-384b5d20b64c279f29eb494bae37d039c652f492.tar.gz
frameworks_base-384b5d20b64c279f29eb494bae37d039c652f492.tar.bz2
am a65de4fd: am b2f8c716: am 50ed152a: am 7f63ef38: am 9b6a6099: Prevent insanely long passwords from crashing SystemUI
* commit 'a65de4fde99c84ae7c7cab242e8e1e46ee6c0a5d': 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 7dcaf6d..7d45017 100644
--- a/packages/Keyguard/res/layout/keyguard_password_view.xml
+++ b/packages/Keyguard/res/layout/keyguard_password_view.xml
@@ -57,6 +57,7 @@
android:textSize="16sp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:imeOptions="flagForceAscii|actionDone"
+ android:maxLength="500"
/>
<ImageView android:id="@+id/switch_ime_button"