File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/de/raphaelebner/roomdatabasebackup/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ class RoomBackup(var context: Context) : FragmentActivity() {
371371 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
372372 permissionRequestLauncher.launch(arrayOf(READ_MEDIA_IMAGES , READ_MEDIA_AUDIO , READ_MEDIA_VIDEO ))
373373 } else {
374- permissionRequestLauncher.launch(arrayOf(WRITE_EXTERNAL_STORAGE , READ_EXTERNAL_STORAGE ))
374+ permissionRequestLauncher.launch(arrayOf(READ_EXTERNAL_STORAGE ))
375375 }
376376 return
377377 }
@@ -503,7 +503,7 @@ class RoomBackup(var context: Context) : FragmentActivity() {
503503 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
504504 permissionRequestLauncher.launch(arrayOf(READ_MEDIA_IMAGES , READ_MEDIA_AUDIO , READ_MEDIA_VIDEO ))
505505 } else {
506- permissionRequestLauncher.launch(arrayOf(WRITE_EXTERNAL_STORAGE , READ_EXTERNAL_STORAGE ))
506+ permissionRequestLauncher.launch(arrayOf(READ_EXTERNAL_STORAGE ))
507507 }
508508 return
509509 }
You can’t perform that action at this time.
0 commit comments