commit | b95bd4429c87ba7d79a06b61ccfb783153a6b10d | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Dec 11 10:35:02 2018 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Dec 11 11:02:34 2018 -0700 |
tree | d5eb546b8edc848652a478e962eb4a2a9b991e8c | |
parent | 52fe5dd97fb749aad4f570914a22aebf8d0de1c1 [diff] |
Surface tree statistics through metadata. As part of storage privacy work in Q, we're trying to help users understand the impact of OPEN_DOCUMENT_TREE choices, and the best way is to show statistics about what's actually contained inside a tree. Define "count" and "size" statistics, and populate them for all FileSystemProvider instances. Bug: 117975747 Test: atest android.provider.cts.DocumentsContractTest Change-Id: Ib3f8f208c619141c26abaee0137641f12b009c8f