summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/RemoteInputConnection.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2021-07-18 23:38:16 -0700
committerYohei Yukawa <yukawa@google.com>2021-07-18 23:38:16 -0700
commitca490fc87912d6abdf69944d8ac3198654fb4dca (patch)
tree521b19ec322cfe314e287dc56789725a25bcb65b /core/java/android/inputmethodservice/RemoteInputConnection.java
parentc577086e39b857e787a230403c8125b6785b995f (diff)
Finish renaming requestUpdateCursorAnchorInfo() to requestCursorUpdates()
This is a follow up CL to my previous CL [1] in Android L, which renamed InputConnection#requestUpdateCursorAnchorInfo() to InputConnection#requestCursorUpdates() per API council feedback before that API was finally published. Although its API surface has been correctly renamed, there have been several uses of its older name in our internal code. This CL also updates such internal uses to avoid confusions. As this is a purely mechanical renaming, there should be no behavior change in this CL. [1]: I772c48ff18918e48a81e807b48ff907614485c09 d8636ea7ca78df83d6b04088eab7853f15f3e999 Bug: 192412909 Test: atest Change-Id: I75701a5a32d52283497208013c28ceb75c1adfa9
Diffstat (limited to 'core/java/android/inputmethodservice/RemoteInputConnection.java')
-rw-r--r--core/java/android/inputmethodservice/RemoteInputConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/inputmethodservice/RemoteInputConnection.java b/core/java/android/inputmethodservice/RemoteInputConnection.java
index 4fa98be75b46..7363c50dd71a 100644
--- a/core/java/android/inputmethodservice/RemoteInputConnection.java
+++ b/core/java/android/inputmethodservice/RemoteInputConnection.java
@@ -361,8 +361,8 @@ final class RemoteInputConnection implements InputConnection {
// This method is not implemented.
return false;
}
- final Completable.Int value = mInvoker.requestUpdateCursorAnchorInfo(cursorUpdateMode);
- return Completable.getResultOrZero(value, TAG, "requestUpdateCursorAnchorInfo()",
+ final Completable.Int value = mInvoker.requestCursorUpdates(cursorUpdateMode);
+ return Completable.getResultOrZero(value, TAG, "requestCursorUpdates()",
mCancellationGroup, MAX_WAIT_TIME_MILLIS) != 0;
}