DescriptionPreviously Files.app uses navigationVolumeMap which is a map from devicePath to
volumeId. When the notification saying "Open removable device" is clicked,
Files.app finding corresponding volumeId from the map, and navigate to the
volume.
Files.app: Remove navigationVolumeMap from the background page.
But if the background page once closed, the map is cleared and the app cannot
find the corresponding volume.
The CL adds devicePath field to VolumeInfo, and let the app find the
corresponding volume information directly without using the map.
BUG=419107
TEST=repro steps of the bug.
Committed: https://crrev.com/86a0c99d060868dddfa4abaa42b990e03ac284d3
Cr-Commit-Position: refs/heads/master@{#297792}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Rebased. #Patch Set 4 : Rebased again. #Patch Set 5 : #
Messages
Total messages: 22 (8 generated)
|