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:
@@ -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 -->
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user