Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 214406a8 authored by Jim Miller's avatar Jim Miller
Browse files

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
parent 2f35281a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 -->
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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 -->
+1 −0
Original line number Diff line number Diff line
@@ -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 -->