mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-11-25 19:03:51 +00:00
Android: Set Dolphin documents as Local only
Adds `DocumentsContract.Root.FLAG_LOCAL_ONLY` to the list of the flags in order to show up for third-party apps for easier file syncing with local/cloud file server providers
This commit is contained in:
parent
2b7faeb920
commit
834f3634a8
@ -65,7 +65,7 @@ class DocumentProvider : DocumentsProvider() {
|
||||
add(DocumentsContract.Root.COLUMN_ICON, R.drawable.ic_dolphin)
|
||||
add(
|
||||
DocumentsContract.Root.COLUMN_FLAGS,
|
||||
DocumentsContract.Root.FLAG_SUPPORTS_CREATE or DocumentsContract.Root.FLAG_SUPPORTS_RECENTS or DocumentsContract.Root.FLAG_SUPPORTS_SEARCH
|
||||
DocumentsContract.Root.FLAG_SUPPORTS_CREATE or DocumentsContract.Root.FLAG_SUPPORTS_RECENTS or DocumentsContract.Root.FLAG_SUPPORTS_SEARCH or DocumentsContract.Root.FLAG_LOCAL_ONLY
|
||||
)
|
||||
add(DocumentsContract.Root.COLUMN_DOCUMENT_ID, ROOT_ID)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user