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

Commit 1545cd72 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove IInputMethodClient.setUsingInputMethod()"

parents 0399b85f 68723904
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -636,10 +636,6 @@ public final class InputMethodManager {
            }
        }

        @Override
        public void setUsingInputMethod(boolean state) {
        }

        @Override
        public void onBindMethod(InputBindResult res) {
            mH.obtainMessage(MSG_BIND, res).sendToTarget();
+0 −1
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import com.android.internal.view.InputBindResult;
 * itself and receive information about changes to the global manager state.
 */
oneway interface IInputMethodClient {
    void setUsingInputMethod(boolean state);
    void onBindMethod(in InputBindResult res);
    // unbindReason corresponds to InputMethodClient.UnbindReason.
    void onUnbindMethod(int sequence, int unbindReason);
+1 −4
Original line number Diff line number Diff line
@@ -138,10 +138,7 @@ class Session extends IWindowSession.Stub implements IBinder.DeathRecipient {
            // Note: it is safe to call in to the input method manager
            // here because we are not holding our lock.
            if (mService.mInputMethodManager != null) {
                mService.mInputMethodManager.addClient(client, inputContext,
                        mUid, mPid);
            } else {
                client.setUsingInputMethod(false);
                mService.mInputMethodManager.addClient(client, inputContext, mUid, mPid);
            }
            client.asBinder().linkToDeath(this, 0);
        } catch (RemoteException e) {