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

Commit a046faaf authored by P.Y. Laligand's avatar P.Y. Laligand
Browse files

Always check for null when peeking at the InputMethodManager.

Change-Id: I8c0d66c63b617c58be3d5fcf3dfb0c55aa287dcb
parent 39df5fea
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -12978,9 +12978,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        if (isFocused()) {
            InputMethodManager imm = InputMethodManager.peekInstance();
            if (imm != null) {
                imm.focusIn(this);
            }
        }
    }
    /**
     * Resolve all RTL related properties.