summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-01-04 16:09:18 -0700
committerJeff Sharkey <jsharkey@android.com>2019-01-04 16:17:03 -0700
commit5cc407f70275a4e970ac5c918ff5bc63a76975e0 (patch)
tree567fb8d1592696d2a66fe906a5145523e776cef9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent7b148d7ae7c54315cbb33d71396bb87747aa722d (diff)
Public APIs for "trashing" media.
The "delete" operation is immediate and permanent, and users may wish to instead mark content as being "trashed", so they can recover accidentally trashed items before they're permanently deleted. The default trash timeout is 48 hours, which should be enough time to recover items the user cares about. Apps can also use a custom timeout if desired. This is implemented by recording an "expiration" time for trashed items, and deleting expired items during the next idle maintenance pass. Also use this expiration time to clean up pending items that haven't been published; by default apps have a day to publish pending items. Bug: 121227045 Test: atest MediaProviderTests Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore* Change-Id: I2e371b308dc135ad5363709a6f5385e4456bcb96
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions