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

Commit 8caccd4c authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

am b6e00426: am c8dce896: Merge "Fix not to show a log with empty default ime"

automerge: 1b9813ad

* commit '1b9813ad':
  Fix not to show a log with empty default ime
parents 4e9176e6 1b9813ad
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -774,7 +774,11 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        if (defIm == null && mMethodList.size() > 0) {
            defIm = InputMethodUtils.getMostApplicableDefaultIME(
                    mSettings.getEnabledInputMethodListLocked());
            Slog.i(TAG, "No default found, using " + defIm.getId());
            if (defIm != null) {
                Slog.i(TAG, "Default found, using " + defIm.getId());
            } else {
                Slog.i(TAG, "No default found");
            }
        }
        if (defIm != null) {
            setSelectedInputMethodAndSubtypeLocked(defIm, NOT_A_SUBTYPE_ID, false);