summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorWilson Wu <wilsonwu@google.com>2021-07-10 11:25:12 +0800
committerWilson Wu <wilsonwu@google.com>2021-08-11 22:01:41 +0800
commit8ade2c7b88ea9869f7fcdcadb5fa2420efd6d9ff (patch)
tree1a2bef205572dfd9c0685a4ade28adf31aa5173e /core/java/android/util/SparseArrayMap.java
parent02ce38c2cf916cf4c024a8eda9d66f752590bc15 (diff)
Raise Handler ThreadPrority for IMMS
IMMS used the main thread with default priority to create own Handler to deal with picker showing, surface removal, and update input method list, etc. Improve it by creating a dedicated thread with the "THREAD_PRIORITY_FOREGROUND" priority to decouple IMMS#mHandler from other task executions on the main thread of system_server and reduce the likelihood of priority inversion in IMMS. Bug: 190486491 Bug: 167948374 Test: atest CtsInputMethodTestCases Change-Id: Ia85df9c3e8b26f6fcbeaf269d47e929f178c9285
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions