Infinity-For-Lemmy/app/src
Sergei Kozelko 297c20f5d3
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
2022-10-15 19:09:09 +08:00
..
debug/res/values Allow parallel installation of debug and release versions (#636) 2022-09-21 12:57:42 +08:00
main Fix duplicate download folders by persisting read permission (#1164) 2022-10-15 19:09:09 +08:00