OSDN Git Service

Prevent insanely long passwords from crashing SystemUI
authorAdrian Roos <roosa@google.com>
Tue, 21 Jul 2015 20:27:22 +0000 (13:27 -0700)
committerThe Android Automerger <android-build@google.com>
Fri, 14 Aug 2015 02:41:44 +0000 (19:41 -0700)
Bug: 22214934
Change-Id: I32e238e53ac4b6dd0ae6de226b98894c495b256f

packages/Keyguard/res/layout/keyguard_password_view.xml

index b1b2631..c04fad4 100644 (file)
@@ -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"