diff options
| author | Riddle Hsu <riddlehsu@google.com> | 2021-11-04 21:23:13 +0800 |
|---|---|---|
| committer | Riddle Hsu <riddlehsu@google.com> | 2021-11-04 14:10:02 +0000 |
| commit | e5700ffc16f0f73d07f73a8306e95481d619afbb (patch) | |
| tree | cda15041025d9d7fdd51e6d7b13c7d2a5ec20d97 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 1a6add770b4c59fc7d9991596915e523a6df08b1 (diff) | |
Do not use wm lock in TaskChangeNotificationController
Because it dispatch listeners on display thread, it can reduce
lock contention of wm lock and the delay of subsequent messages.
Also simplify logWindowState:
- Instead of post to display thread and acquire lock to get wm state
to log, just get the simple data in wm lock and post to fg thread
to log without lock.
- Pinned task no long has focusable activity, so it won't be the
top focused task. Then findRootTaskBehind can be removed.
Bug: 193661571
Bug: 204870457
Test: CtsWindowManagerDeviceTestCases
Change-Id: I41599e6b6c1ec50c6fb46151a8538c3e1b6eea67
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
