diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-01-19 17:27:09 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-01-19 17:27:16 -0700 |
commit | 1eda2caa98d64a7eacbc7168edbc7590dbcbb53e (patch) | |
tree | f1c68f6ac76d8f090bdc2ed3d24144eae5e27bd8 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 4a2aeaf807a60333c53f464bfeba62d571544b3d (diff) |
Better scanning of secondary storage volumes.
There's been a long-standing bug where secondary external storage
volumes were being scanned into a single "external" database. We've
had the logic in MediaProvider for a long time to support individual
databases on a per-UUID basis, but that regressed at some point.
This change revives that logic, which has the benefit of greatly
speeding up media scanning of secondary storage devices, since we can
preserve those databases instead of churning the primary "external"
database whenever they're ejected and reinserted.
Future work will clean up stale databases in the recently added idle
maintenance service.
Bug: 117932814, 122060093
Test: atest MediaProviderTests
Test: atest cts/tests/tests/media/src/android/media/cts/MediaScanner*
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ib48577a2146758acd882db0b1767e88f3a70247f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions