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
      bb0e2f753b

Bug: 111084606
Bug: 192412909
Test: presubmit
Change-Id: Idd607ef62c91a92006da4bf26a86338ea7224ce8
This commit is contained in:
Yohei Yukawa
2022-02-14 12:19:09 -08:00
parent 10c406e461
commit 7d2f3d98ad
2 changed files with 0 additions and 17 deletions

View File

@@ -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;
}
}
/**

View File

@@ -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.