commit | 78f880ca39eb55b7feff9ddfcc7bbfbdbf2928ab | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Mar 26 21:27:51 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Mar 27 10:48:28 2020 -0600 |
tree | 86580fd06324079514ad56c33311a8a9e010278c | |
parent | a51c3d1c85b941cac90c44d5b6743cf956805680 [diff] |
Adjust blocking scan during mount. Scan operations can take minutes to complete, so we can't block the delivery of onVolumeStateChanged(), as it has a pretty short timeout on the system_server side. Bug: 152005629 Test: atest MediaProviderClientTests:com.android.providers.media.client.LegacyProviderMigrationTest --rerun-until-failure 100 Change-Id: Ia5a5f5f128de2bc1fa2079a4642db7149559b7e1