mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Don't ask for all files access
This commit is contained in:
parent
f870825f29
commit
b20d4a298a
1 changed files with 2 additions and 0 deletions
|
@ -335,6 +335,7 @@ class Downloader(
|
|||
notifier.onError(context.getString(R.string.couldnt_download_low_space), chapName)
|
||||
return
|
||||
}
|
||||
/*
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R &&
|
||||
!Environment.isExternalStorageManager()
|
||||
) {
|
||||
|
@ -351,6 +352,7 @@ class Downloader(
|
|||
)
|
||||
return
|
||||
}
|
||||
*/
|
||||
val chapterDirname = provider.getChapterDirName(download.chapter)
|
||||
val tmpDir = mangaDir.createDirectory(chapterDirname + TMP_DIR_SUFFIX)!!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue