Loading
Forget volumes that have been freshly formatted.
When the user formats an existing volume, the old partition will never appear again, so we can immediately clean up any VolumeRecord information. This change ensures that the next MediaProvider idle maintenance pass will see the UUID has been removed via getRecentStorageVolumes(), and will clean up stale metadata, instead of waiting an entire week for the volume to appear stale. Bug: 157164840 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: Ia60440a423d980de141a87e957cfe03f91a6d9ff