summaryrefslogtreecommitdiff
path: root/tests/net/common/java/android/net/LinkPropertiesTest.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-06-16 10:12:54 -0600
committerJeff Sharkey <jsharkey@android.com>2020-06-16 10:12:54 -0600
commite56dab21a5c78ac772754adcdff6fa8822a5351e (patch)
tree036afce664cc239f18e16ea9eda7173b2f42168d /tests/net/common/java/android/net/LinkPropertiesTest.java
parentc744ad246ef8f8dd0dd9aa268bf99573da6c8ea8 (diff)
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
Diffstat (limited to 'tests/net/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions