Show Documents as a category for Storage Backup
Documents is a prominent category in Files / DocumentsUI. If possible, show it as a category for Storage Backup.
One way or another, it would be ideal to at least offer to include the Documents folder without the user having to think to select it. Some apps store files in the Documents folder (e.g. Editor - org.billthefarmer.editor - has a default file of Editor.txt that is stored there; other examples can be found if needed), and the user doesn't necessarily know this when using such apps.
If including the Documents folder would be a totally different request - with no overlap - compared to including the Documents category, I guess these would be separate requests.
The categories aren't made up. They are taken directly from MediaStore which for some reason is missing Documents.
Ugh, that's too bad they left it out.
A few places that might be worth looking at:
- packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
- packages/providers/MediaProvider/src/com/android/providers/media/MediaDocumentsProvider.java