DescriptionFix refreshing the volume list when the volume is unmounted.
When a volume is unmounted, while it was selected, then the list model is
updated, and since there is no selection anymore, the current entry from the
directory model is selected. However, the corresponding VolumeInfo is gone
so we can't call resolveRootEntry().
This patch adds a check. If the volume is gone, then the selection is aborted.
TEST=Tested manually with FSP.
BUG=418513
Committed: https://crrev.com/4b84385dafb109ba1cd8e2f78366d3585ddbe059
Cr-Commit-Position: refs/heads/master@{#297188}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|