Merge pull request #13908 from Marocco2/patch-1

Android: Set Dolphin documents as Local only
This commit is contained in:
JosJuice 2025-09-16 20:13:09 +02:00 committed by GitHub
commit ae3be169e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ class DocumentProvider : DocumentsProvider() {
add(DocumentsContract.Root.COLUMN_ICON, R.drawable.ic_dolphin) add(DocumentsContract.Root.COLUMN_ICON, R.drawable.ic_dolphin)
add( add(
DocumentsContract.Root.COLUMN_FLAGS, 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 or DocumentsContract.Root.FLAG_SUPPORTS_IS_CHILD
) )
add(DocumentsContract.Root.COLUMN_DOCUMENT_ID, ROOT_ID) add(DocumentsContract.Root.COLUMN_DOCUMENT_ID, ROOT_ID)
} }