forked from recloudstream/cloudstream
Change backup to .txt to fix issues on some devices
This commit is contained in:
parent
718199ee39
commit
cce8cef6d0
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ object BackupUtils {
|
|||
val newFile = ContentValues().apply {
|
||||
put(MediaStore.MediaColumns.DISPLAY_NAME, displayName)
|
||||
put(MediaStore.MediaColumns.TITLE, displayName)
|
||||
put(MediaStore.MediaColumns.MIME_TYPE, "application/json")
|
||||
// While it a json file we store as txt because not
|
||||
// all file managers support mimetype json
|
||||
put(MediaStore.MediaColumns.MIME_TYPE, "text/plain")
|
||||
//put(MediaStore.MediaColumns.RELATIVE_PATH, folder)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue