commit | f49492fa1e657015a2766bbce9dea2ce92a2c4a6 | [log] [tgz] |
---|---|---|
author | Hyoungho Choi <hh46.choi@samsung.com> | Fri Mar 04 16:10:29 2022 +0900 |
committer | Hyoungho Choi <hh46.choi@samsung.com> | Mon Mar 14 19:56:51 2022 +0900 |
tree | e979cd04bdcf93287e0b654acdf2ce899066bf5b | |
parent | 9a3954de04d8771cb71c512ac9a6464a9d260fb0 [diff] |
Ensure MediaProvider Fuse is ready after Vold reset I99cfe7d4dba0aae2e0f39bc7e881b21fd45ac150 can make cts fail for some OEMs of which devices don't support adoptable storage. I99cfe7d4dba0aae2e0f39bc7e881b21fd45ac150 just checks whether primary and secondary storages are ready. It not only does not wait until MediaProvider Fuse is ready, but also misinterprets unmounted state as mounted state. Even Vold kills MediaProvider as some TCs don't close opened FDs. Bug: 222217635 Test: run cts -m CtsScopedStorageDeviceOnlyTest Change-Id: Ic6e05e8c903b6bb0d3c3a91e75402d89c4d10841