diff options
author | lumark <lumark@google.com> | 2020-01-20 12:14:04 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2020-01-22 12:34:14 +0800 |
commit | 3f733cc7efa6342a849960fdcf1a4cf28d36bae5 (patch) | |
tree | f7fbd527d8e2f2f26cc4ec3ef46ad4355caede79 /rs/java/android/renderscript/ProgramStore.java | |
parent | 843cd4733cabd09fbf31ff52b491a2d17b6dce29 (diff) |
Fix some thread handling issues in InputMethodManager
- Make sure onCheckIsTextEditor should be called on the UI thread for
preventing exception in some cases that will break start input background
thread.
- Refine IMM#checkFocus and DelegateImpl#startInput to be out of
lock object to prevent start input background thread may blocked by other
methods which already inside the lock.
- Cache InputMethodManagerDelegate object for ImeFocusController#getDelegate.
Fix: 147447217
Bug: 141738570
Test: manual as test steps:
1) Launch Keeeps app, type some web-URL link.
2) Long press on any URL link > From the toolbar select "open / browser"
and observe.
3) Expect the soft-keyboard should be hidden after entering the
browser page.
Test: atest CtsInputMethodTestCases
Change-Id: I098df41f935438bf1889fb030c7a3e7a0645a168
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions