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

Commit 71a4fe2d authored by Yohei Yukawa's avatar Yohei Yukawa Committed by android-build-merger
Browse files

Merge "IME switcher should not always require IME_VISIBLE." into nyc-dev

am: 7c101a40

* commit '7c101a40':
  IME switcher should not always require IME_VISIBLE.

Change-Id: Iad7688f84fa7b89164f0f8edff76383ba324baa8
parents 205ad786 7c101a40
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1715,8 +1715,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
            // exists in the IME switcher dialog.  Might be OK to remove this condition once
            // SHOW_IME_WITH_HARD_KEYBOARD settings finds a good place to live.
            return true;
        } else if ((visibility & InputMethodService.IME_VISIBLE) == 0) {
            return false;
        }
        if ((visibility & InputMethodService.IME_VISIBLE) == 0) return false;

        List<InputMethodInfo> imis = mSettings.getEnabledInputMethodListLocked();
        final int N = imis.size();