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
This commit is contained in:
Jim Miller
2011-10-20 13:32:52 -07:00
parent 2f35281ae0
commit 214406a8e9
4 changed files with 4 additions and 0 deletions

View File

@@ -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 -->

View File

@@ -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

View File

@@ -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 -->

View File

@@ -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 -->