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

Commit 475737c3 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Suppress NPE in IMS#onEvaluateInputViewShown()."

parents f2c4be29 cf8403bc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1258,6 +1258,10 @@ public class InputMethodService extends AbstractInputMethodService {
     */
    @CallSuper
    public boolean onEvaluateInputViewShown() {
        if (mSettingsObserver == null) {
            Log.w(TAG, "onEvaluateInputViewShown: mSettingsObserver must not be null here.");
            return false;
        }
        if (mSettingsObserver.shouldShowImeWithHardKeyboard()) {
            return true;
        }