Refactor DirectoryTree part 2 of 2
This is part of a reverted CL crrev.com/c/1300993, this is the part that had caused flakiness on MSAN. Change EntryList |updateSubDirectories| method to read its content using FS API, which turns it into async. EntryList is used by MyFiles so Downloads folder appearance is delayed comparing to previous approach. Some tests expected Downloads to be readily available then they become flaky, crrev.com/c/1313709 fixes this for most tests. Fix unittest that started failing because it metadataModel was null. Bug: 899664, 889511 Change-Id: If7cf4dea331938cb5919ef4a0ebaa73afaa2ec20 Reviewed-on: https://chromium-review.googlesource.com/c/1313711Reviewed-by:Joel Hockey <joelhockey@chromium.org> Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#604779}
Showing
Please register or sign in to comment