diff options
| author | Wilson Wu <wilsonwu@google.com> | 2021-04-28 16:28:26 +0800 |
|---|---|---|
| committer | Wilson Wu <wilsonwu@google.com> | 2021-04-29 16:05:05 +0800 |
| commit | 37051aef3866c358ab7c1060767f23a2cb70ebf8 (patch) | |
| tree | 65f3ffa89e62a4c2af368e159605a1d0fe31c493 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 8215d0e10937119e8717f26c8a388e53ff42ad8e (diff) | |
Make IInputMethodPrivilegedOperations to async (6/N)
-. Remove VoidResultCallback of applyImeVisibility.
and let it be truly asynchronous.
-. Rename this method to applyImeVisibilityAsync.
Bug: 183587528
Test: atest CtsInputMethodTestCases
Change-Id: Ica564c526223d32641a2485c0c0f3490fe4bfd39
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 1965e55daae1..d7b96dfb7827 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -2312,7 +2312,7 @@ public class InputMethodService extends AbstractInputMethodService { if (setVisible) { cancelImeSurfaceRemoval(); } - mPrivOps.applyImeVisibility(setVisible + mPrivOps.applyImeVisibilityAsync(setVisible ? mCurShowInputToken : mCurHideInputToken, setVisible); } |
