diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 56bda16..5c7a3e4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,8 +14,8 @@ android { defaultConfig { minSdk = rootProject.extra["minSdkVersion"] as Int targetSdk = rootProject.extra["targetSdkVersion"] as Int - versionCode = 1723581000 - versionName = "2024.08.13" + versionCode = 1723635000 + versionName = "2024.08.14" applicationId = "alt.nainapps.aer" vectorDrawables { useSupportLibrary = true diff --git a/app/src/main/java/alt/nainapps/aer/documents/provider/FileSystemProvider.kt b/app/src/main/java/alt/nainapps/aer/documents/provider/FileSystemProvider.kt index 4175859..c823c91 100644 --- a/app/src/main/java/alt/nainapps/aer/documents/provider/FileSystemProvider.kt +++ b/app/src/main/java/alt/nainapps/aer/documents/provider/FileSystemProvider.kt @@ -556,15 +556,20 @@ abstract class FileSystemProvider : DocumentsProvider() { if (DocumentsContract.Document.MIME_TYPE_DIR == mimeType) { flags = flags or DocumentsContract.Document.FLAG_DIR_SUPPORTS_CREATE if (isNotEssential(path)) { + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_WRITE flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_DELETE flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_RENAME + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_COPY flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_MOVE + Log.d(TAG, "Flag $flags for: $path") } } else { flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_WRITE flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_DELETE flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_RENAME + flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_COPY flags = flags or DocumentsContract.Document.FLAG_SUPPORTS_MOVE + Log.d(TAG, "Flag $flags for: $path") } }