diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-10-15 11:09:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 11:09:09 +0000 |
commit | 297c20f5d34a49816fc2e954c156d0d3c49f19c9 (patch) | |
tree | 62b4a0a4e2da28abc9b5b0a5b1f99aedfb1ee805 /app/src/main/res/values-hr/strings.xml | |
parent | 48dcf2293cabf19578a35269e890125838efa8c2 (diff) | |
download | infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar.gz infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar.bz2 infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar.lz infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar.xz infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.tar.zst infinity-for-reddit-297c20f5d34a49816fc2e954c156d0d3c49f19c9.zip |
Fix duplicate download folders by persisting read permission (#1164)
* Persist read permission
ACTION_OPEN_DOCUMENT_TREE grants both read and write permissions, but they are
granted only until device reboot unless app persists them.
Once read permission is lost, app cannot check if folders exist in DownloadMediaService.
But it can still create new folders because it has write permission. This results
in duplicate folders.
* Remove unnecessary FLAG_GRANT_WRITE_URI_PERMISSION
This flag is ignored when used with ACTION_OPEN_DOCUMENT_TREE
Diffstat (limited to 'app/src/main/res/values-hr/strings.xml')
0 files changed, 0 insertions, 0 deletions