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

Commit 541fa1d0 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6878535 from b53eb918 to sc-d1-release

Change-Id: If9d3a89af9d91afb08b1fadff6bb60afd5f454a3
parents e104d0d8 b53eb918
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -314,7 +314,8 @@ public final class Shared {
    public static void ensureKeyboardPresent(Context context, AlertDialog dialog) {
    public static void ensureKeyboardPresent(Context context, AlertDialog dialog) {
        if (!isHardwareKeyboardAvailable(context)) {
        if (!isHardwareKeyboardAvailable(context)) {
            dialog.getWindow().setSoftInputMode(
            dialog.getWindow().setSoftInputMode(
                    WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
                    WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE
                            | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
        }
        }
    }
    }