diff options
author | Song Hu <songhu@google.com> | 2020-05-06 05:13:22 -0700 |
---|---|---|
committer | Song Hu <songhu@google.com> | 2020-05-06 10:17:29 -0700 |
commit | d52863d12b7956dfcc6db259bb2fa000dcead914 (patch) | |
tree | 18ae46c06527998f2ff0a629b1406be1e0547b10 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 60c131e869acd87473a0753d024b4d58cc5f7595 (diff) |
Send onCreatePredictionSession, sortAppTargets, requestPredictionUpdate
immediately instead of sending them to main thread Looper queue of
ChooserActivity.
These methods are relatively latency-sensitive. When main thread Looper queue has many backlogs, it takes long time
to dispatch requests.
Bug: 155551642
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Test: manually test on the device
Change-Id: I7d00e49c6a30fec478e620bc98180d379f801fc8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions