summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2021-10-20 16:52:25 -0700
committerVarun Shah <varunshah@google.com>2021-11-08 16:26:52 -0800
commit287afa19015a32d09522adde7fd5f3d6cac7f2eb (patch)
tree97f0177b855708d0fa5d9fda9c1d4c2e4ac23198 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parentea975a77868fa4988af79605dd2a14b12de1c856 (diff)
Run the service start user lifecycle phase in parallel.
Execute the on start user lifecycle phase in parallel. Services will be a added to a new thread pool, and depending on which category they are in, they will either be executed right away (bootstrap and core categories), or run in parallel along with other services in that category (other category). This change will only apply for non-system users for now. Additionally, low ram devices will have this change disabled. Initial results show about 16% improvement in execution times. Note: This CL does not enable the thread pool, a separate CL will enable it. Bug: 197257926 Test: atest UserLifecycleTests Change-Id: I76ba673f78b69c7f0caac2d843fa77079e92138a
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions