commit | e186819554827cd3acdddbedc3a74389ae5f2600 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Nov 15 18:29:39 2019 +0000 |
committer | Zim <zezeozue@google.com> | Fri Nov 15 18:35:54 2019 +0000 |
tree | c78fe5416f32228b7634d3cedc4aa9d2067e3efb | |
parent | 3b1702ed08339515bd415d29ca23a34132215ad1 [diff] |
Use cached volumes to resolve volume paths In Ib0d525792eecd813ed4c7c30db5cb9d3053668c0 we always fetched the mounted volumes from the StorageManagerService, because of some races between MEDIA_MOUNTED broadcast and onVolumeStateChanged. With If441c9782596f0e7b963ad10571ce2fa19746ee6 fixing the race, we can now use the cache again, improving performance. Test: atest AdoptableHostTest Bug: 144275217 Change-Id: Ib392a6a7b7389aab24b9cdb36e4b8ff292f462e9