Remove requestCursorUpdatesFromImm() again
This CL removes an unused method
RemoteInputConnectionImpl#requestCursorUpdatesFromImm(),
which was originally introduced [1] then removed [2], and
accidentally added again [3].
Anyway, this method is no longer used and can be removed safely.
[1]: I3d6b1728d62139785593af14c24cb52bf2c91e31
71aa1a31d1
[2]: Ia72a9fe0ceac1798ee1989eaae3906e8e1b696bf
5854c92bad
[3]: I53bcb62e03ac1c371feb60d1385c88c921754092
3e3ff1a3d2
Bug: 210039666
Test: presubmit
Change-Id: I4d0bf0ac371e1f9f214258906231d6ae85bdce3e
This commit is contained in:
@@ -1015,27 +1015,6 @@ final class RemoteInputConnectionImpl extends IRemoteInputConnection.Stub {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Dispatches {@link InputConnection#requestCursorUpdates(int)}.
|
||||
*
|
||||
* <p>This method is intended to be called only from {@link InputMethodManager}.</p>
|
||||
* @param cursorUpdateMode the mode for {@link InputConnection#requestCursorUpdates(int, int)}
|
||||
* @param cursorUpdateFilter the filter for
|
||||
* {@link InputConnection#requestCursorUpdates(int, int)}
|
||||
* @param imeDisplayId displayId on which IME is displayed.
|
||||
*/
|
||||
@Dispatching(cancellable = true)
|
||||
public void requestCursorUpdatesFromImm(int cursorUpdateMode, int cursorUpdateFilter,
|
||||
int imeDisplayId) {
|
||||
final int currentSessionId = mCurrentSessionId.get();
|
||||
dispatchWithTracing("requestCursorUpdatesFromImm", () -> {
|
||||
if (currentSessionId != mCurrentSessionId.get()) {
|
||||
return; // cancelled
|
||||
}
|
||||
requestCursorUpdatesInternal(cursorUpdateMode, cursorUpdateFilter, imeDisplayId);
|
||||
});
|
||||
}
|
||||
|
||||
@Dispatching(cancellable = true)
|
||||
@Override
|
||||
public void requestCursorUpdates(InputConnectionCommandHeader header, int cursorUpdateMode,
|
||||
|
||||
Reference in New Issue
Block a user