public dir for images
This commit is contained in:
parent
063d314c36
commit
2f41515b33
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ fun saveImageToDownloads(title: String, bitmap: Bitmap, context: Context) {
|
|||
"$APPLICATION_ID.provider",
|
||||
saveImage(
|
||||
bitmap,
|
||||
Environment.getExternalStorageDirectory().absolutePath + "/" + Environment.DIRECTORY_DOWNLOADS,
|
||||
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).absolutePath,
|
||||
title
|
||||
) ?: return
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue