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

Commit ec0a7594 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove IMM#getInputContext(), which is unused

InputMethodManager#getInputContext() is no longer marked as
@UnsupportedAppUsage [1] hence we should be able to remove it as far
as we can see.

Let's see how it goes.

 [1]: Id83ce2bd5896e953c824f7eaf28b235859123ab0
      51c93504

Bug: 192412909
Bug: 194323038
Test: presubmit
Change-Id: I6069fbb3b40e51bb24bfece48a4bb56705ded6ba
parent 407b327f
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@ import com.android.internal.inputmethod.StartInputReason;
import com.android.internal.inputmethod.UnbindReason;
import com.android.internal.os.SomeArgs;
import com.android.internal.view.IInputConnectionWrapper;
import com.android.internal.view.IInputContext;
import com.android.internal.view.IInputMethodClient;
import com.android.internal.view.IInputMethodManager;
import com.android.internal.view.IInputMethodSession;
@@ -1213,19 +1212,6 @@ public final class InputMethodManager {
        return mClient;
    }

    /**
     * No longer used.  Do not use.
     *
     * TODO(b/192412909) Remove this method.
     *
     * @deprecated Was kept due to {@link UnsupportedAppUsage}.  Will be removed soon.
     * @hide
     */
    @Deprecated
    public IInputContext getInputContext() {
        return mIInputContext;
    }

    /**
     * Returns the list of installed input methods.
     *