diff options
| author | Marocco2 <marocco2@live.it> | 2025-08-25 12:34:23 +0200 |
|---|---|---|
| committer | Marocco2 <marocco2@live.it> | 2025-08-25 19:52:36 +0200 |
| commit | 834f3634a8f5439cb5bcc25a8ce4a62f052b3393 (patch) | |
| tree | 6d2bba61cf9d1138adc60660b61d0a71d5f51e31 /Source/Android/app/src/main/java | |
| parent | 2b7faeb920da31edb11f01c9a0473f86e4023100 (diff) | |
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
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/DocumentProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/DocumentProvider.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/DocumentProvider.kt index 63d72160c5..1670249e00 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/DocumentProvider.kt +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/DocumentProvider.kt @@ -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) } |
