summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorWilson Wu <wilsonwu@google.com>2021-04-28 14:40:08 +0800
committerWilson Wu <wilsonwu@google.com>2021-04-28 14:40:08 +0800
commite702c9d3815baefc921ecdc240b46b9c6b539941 (patch)
tree4324afe6903555277771420c3ed04eb33a752f02 /core/java/android/inputmethodservice/InputMethodService.java
parentf98e690f9e29738a95343fef20c1d31e50b4c6d4 (diff)
Make IInputMethodPrivilegedOperations to async (5/N)
-. Remove VoidResultCallback of notifyUserAction. and let it be truly asynchronous. -. Rename this method to notifyUserActionAsync. Bug: 183587528 Test: atest CtsInputMethodTestCases Change-Id: I384fd689b6bd1d418ff5208444fbba2c1eac6f85
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
-rw-r--r--core/java/android/inputmethodservice/InputMethodService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java
index 4b8e37c56061..ed544dedd39d 100644
--- a/core/java/android/inputmethodservice/InputMethodService.java
+++ b/core/java/android/inputmethodservice/InputMethodService.java
@@ -3313,7 +3313,7 @@ public class InputMethodService extends AbstractInputMethodService {
if (mNotifyUserActionSent) {
return;
}
- mPrivOps.notifyUserAction();
+ mPrivOps.notifyUserActionAsync();
mNotifyUserActionSent = true;
}
}