From 44985b9ccd31cbdd526047d36c82608061776b04 Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Wed, 16 Sep 2015 15:29:57 -0700 Subject: [PATCH] Stop long passwords crashing CryptKeeper Bug: 24017705 Change-Id: Ida157f96f350486d9ec0189c68fff314dc4a90f2 --- res/layout/crypt_keeper_password_field.xml | 1 + res/layout/crypt_keeper_pin_field.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/res/layout/crypt_keeper_password_field.xml b/res/layout/crypt_keeper_password_field.xml index 34c7f64fc40..8102658e44a 100644 --- a/res/layout/crypt_keeper_password_field.xml +++ b/res/layout/crypt_keeper_password_field.xml @@ -28,6 +28,7 @@ android:inputType="textPassword" android:textSize="16sp" android:padding="10sp" + android:maxLength="500" style="@style/TextAppearance.CryptKeeper_PasswordEntry" /> diff --git a/res/layout/crypt_keeper_pin_field.xml b/res/layout/crypt_keeper_pin_field.xml index 56b4978e4da..a13142efc00 100644 --- a/res/layout/crypt_keeper_pin_field.xml +++ b/res/layout/crypt_keeper_pin_field.xml @@ -28,6 +28,7 @@ android:inputType="numberPassword" android:textSize="28sp" android:padding="4sp" + android:maxLength="500" style="@style/TextAppearance.CryptKeeper_PasswordEntry" />