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

Commit b416a71e authored by satok's avatar satok
Browse files

Fix build breakage

- Reverted unintenitionally removed function

Change-Id: If083119e31c28b6f73d8ac85f2df4a8ab12dcb7f
parent 440aab54
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1298,6 +1298,18 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        }
    }

    public void showInputMethodAndSubtypeEnablerFromClient(
            IInputMethodClient client, String topId) {
        // TODO: Handle topId for setting the top position of the list ActivityManagerNative
        synchronized (mMethodMap) {
            if (mCurClient == null || client == null
                || mCurClient.client.asBinder() != client.asBinder()) {
                Slog.w(TAG, "Ignoring showInputMethodAndSubtypeEnablerFromClient of: " + client);
            }
            mHandler.sendEmptyMessage(MSG_SHOW_IM_SUBTYPE_ENABLER);
        }
    }

    public boolean switchToLastInputMethod(IBinder token) {
        synchronized (mMethodMap) {
            Pair<String, String> lastIme = mSettings.getLastInputMethodAndSubtypeLocked();