diff options
| author | Wilson Wu <wilsonwu@google.com> | 2021-04-28 14:40:08 +0800 |
|---|---|---|
| committer | Wilson Wu <wilsonwu@google.com> | 2021-04-28 14:40:08 +0800 |
| commit | e702c9d3815baefc921ecdc240b46b9c6b539941 (patch) | |
| tree | 4324afe6903555277771420c3ed04eb33a752f02 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | f98e690f9e29738a95343fef20c1d31e50b4c6d4 (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.java | 2 |
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; } } |
