diff options
author | Jim Miller <jaggies@google.com> | 2011-10-20 13:32:52 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-10-20 13:32:52 -0700 |
commit | 214406a8e95348bfea8a65d981e508f35bf5cf21 (patch) | |
tree | ca79fde25ddb264c1b00f394892692e784f131ec /core/res | |
parent | 2f35281ae0ae4471527e9286f022cb960384044e (diff) | |
download | frameworks_base-214406a8e95348bfea8a65d981e508f35bf5cf21.zip frameworks_base-214406a8e95348bfea8a65d981e508f35bf5cf21.tar.gz frameworks_base-214406a8e95348bfea8a65d981e508f35bf5cf21.tar.bz2 |
Fix 3384942: Force ASCII-capable IME to show on lockscreen
Only Latin-1 based passwords are supported on the system at
this point. As such, we need a way to show a Latin-1-compliant
keyboard when unlocking the device.
It is expected that 3rd party IMEs honor this mode for Latin-1
password dialogs. If not, this change will cause lockscreen to
revert to using the Android system IME for entering the password.
Change-Id: I59bb56f6f5968b5abc50cf1b9b26c19ca4f183e4
Diffstat (limited to 'core/res')
4 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml index 99ab8a3..ee1ce5f 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml @@ -62,6 +62,7 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:background="@drawable/lockscreen_password_field_dark" android:textColor="#ffffffff" + android:privateImeOptions="com.google.android.inputmethod.latin.forceAscii" /> <!-- Numeric keyboard --> diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml index 64c002f..254dd3e 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml @@ -58,6 +58,7 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:background="@drawable/lockscreen_password_field_dark" android:textColor="#ffffffff" + android:privateImeOptions="com.google.android.inputmethod.latin.forceAscii" /> <View diff --git a/core/res/res/layout/keyguard_screen_password_landscape.xml b/core/res/res/layout/keyguard_screen_password_landscape.xml index 803047e..62f59f6 100644 --- a/core/res/res/layout/keyguard_screen_password_landscape.xml +++ b/core/res/res/layout/keyguard_screen_password_landscape.xml @@ -152,6 +152,7 @@ android:background="@null" android:textColor="?android:attr/textColorPrimary" android:imeOptions="flagNoFullscreen|actionDone" + android:privateImeOptions="com.google.android.inputmethod.latin.forceAscii" /> <!-- This delete button is only visible for numeric PIN entry --> diff --git a/core/res/res/layout/keyguard_screen_password_portrait.xml b/core/res/res/layout/keyguard_screen_password_portrait.xml index 6b03359..597cfe7 100644 --- a/core/res/res/layout/keyguard_screen_password_portrait.xml +++ b/core/res/res/layout/keyguard_screen_password_portrait.xml @@ -117,6 +117,7 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="#ffffffff" android:imeOptions="actionDone" + android:privateImeOptions="com.google.android.inputmethod.latin.forceAscii" /> <!-- This delete button is only visible for numeric PIN entry --> |