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

Commit 10c406e4 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove unused InputMethod#setCurrentHideInputToken()

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

  InputMethod#setCurrentHideInputToken().

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

 [1]: Ia596a392eb73ae46debd097151c8c9a7edd59833
      44e2ae4afc30b6a873e1536e31619db258f6cf00

Bug: 133381284
Bug: 149870112
Bug: 192412909
Test: presubmit
Change-Id: I8906360dc51ad3468b9ce4c97d477ae9bcdb2e91
parent c965b61d
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -998,15 +998,6 @@ public class InputMethodService extends AbstractInputMethodService {
        public void setCurrentShowInputToken(IBinder showInputToken) {
            mCurShowInputToken = showInputToken;
        }

        /**
         * {@inheritDoc}
         * @hide
         */
        @Override
        public void setCurrentHideInputToken(IBinder hideInputToken) {
            mCurHideInputToken = hideInputToken;
        }
    }

    /**
+0 −8
Original line number Diff line number Diff line
@@ -398,14 +398,6 @@ public interface InputMethod {
     */
    public void setCurrentShowInputToken(IBinder showInputToken);

    /**
     * Update token of the client window requesting {@link #hideSoftInput(int, ResultReceiver)}
     * @param hideInputToken placeholder app window token for window requesting
     *        {@link InputMethodManager#hideSoftInputFromWindow(IBinder, int)}
     * @hide
     */
    public void setCurrentHideInputToken(IBinder hideInputToken);

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