commit | d52863d12b7956dfcc6db259bb2fa000dcead914 | [log] [tgz] |
---|---|---|
author | Song Hu <songhu@google.com> | Wed May 06 05:13:22 2020 -0700 |
committer | Song Hu <songhu@google.com> | Wed May 06 10:17:29 2020 -0700 |
tree | 18ae46c06527998f2ff0a629b1406be1e0547b10 | |
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