summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2021-07-28 09:23:04 +0800
committerFelka Chang <felkachang@google.com>2021-08-08 02:40:04 +0000
commit9dc6a21ba7b373d51c9540f42def5037371a8ff1 (patch)
treea94413c0cd643337a2dfc195c9220ec035049b15 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parentaec13b2c6e0f7772b63a7e1cd859a029d51cdd6d (diff)
Post tasks back to PackageInstaller thread
When PackageManagerService return the verification result back to PackageInstallerSession, PackageInstallerSession use PackageManagerService's worker thread to generate the install parameter. When the verification tasks are completed, PackageInstaller's worker thread should execute the following tasks. This patch should make the benchmark better if PackageManagerService's worker thread is busy. The benchmark reports that to post runnable is faster than the original Test: TID="PackageManagerPerfTests" ; \ atest \ ${TID}:android.content.pm.PackageInstallerBenchmark Bug: 194755410 Change-Id: I0e9b123b999dc3f908819ee40850397a1f3fd9e0
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions