diff options
author | Wilson Wu <wilsonwu@google.com> | 2021-04-22 18:18:11 +0800 |
---|---|---|
committer | Wilson Wu <wilsonwu@google.com> | 2021-04-26 17:13:03 +0800 |
commit | 5e2d9f271d1f24fc946661579628fb9a817143dc (patch) | |
tree | a138624c689d59998d2fe6df656e0c8e7ff329f6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f98e690f9e29738a95343fef20c1d31e50b4c6d4 (diff) |
Async startInputOrWindowGainedFocus
We ignore the result if startInputReason is
WINDOW_FOCUS_GAIN_REPORT_WITH_CONNECTION or
WINDOW_FOCUS_GAIN_REPORT_WITHOUT_CONNECTION
in startInputOrWindowGainedFocus.
Introduce USE_REPORT_WINDOW_GAINED_FOCUS_ASYNC
flag to control following behavior:
-. Don't wait the result if it only report the
focus gain. Have another IPC for this case
to prevent the UI thread be blocked.
-. Throw the exception to the client side if it
happened.
Bug: 185928120
Test: atest CtsInputMethodTestCases
Change-Id: Ic584203c1221fbae17f5e2d8f09e3992df061646
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions