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

Commit 7d2f3d98 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove unused InputMethod#setCurrentShowInputToken()

This is a clean up CL to our previous CL [1], which introduced an
unused @hide method

  InputMethod#setCurrentShowInputToken().

Since that method has never been called, there should be no behavior
change in this CL.

 [1]: Ia49e23dd077d264a58d28a7b8acffde54b7db187
      bb0e2f75

Bug: 111084606
Bug: 192412909
Test: presubmit
Change-Id: Idd607ef62c91a92006da4bf26a86338ea7224ce8
parent 10c406e4
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -989,15 +989,6 @@ public class InputMethodService extends AbstractInputMethodService {
        public void changeInputMethodSubtype(InputMethodSubtype subtype) {
            dispatchOnCurrentInputMethodSubtypeChanged(subtype);
        }

        /**
         * {@inheritDoc}
         * @hide
         */
        @Override
        public void setCurrentShowInputToken(IBinder showInputToken) {
            mCurShowInputToken = showInputToken;
        }
    }

    /**
+0 −8
Original line number Diff line number Diff line
@@ -390,14 +390,6 @@ public interface InputMethod {
    @MainThread
    public void changeInputMethodSubtype(InputMethodSubtype subtype);

    /**
     * Update token of the client window requesting {@link #showSoftInput(int, ResultReceiver)}
     * @param showInputToken placeholder app window token for window requesting
     *        {@link InputMethodManager#showSoftInput(View, int)}
     * @hide
     */
    public void setCurrentShowInputToken(IBinder showInputToken);

    /**
     * Checks if IME is ready to start stylus handwriting session.
     * If yes, {@link #startStylusHandwriting(InputChannel, List)} is called.