My application downloads files from Google Drive by the DownloadManager to the public Download directory. Everything works perfectly, except that when I uninstall my app, the downloded files are automatically deleted. Why?
Is there something I did not follow and understood with Marshmallow and Nougat?
Thank you for enlightening me.
It's a real regression !! I had not noticed it yet.
Solutions if you want your downloaded files to persist after uninstalling your app are:
Source:https://commonsware.com/blog/2016/02/09/changes-downloadmanager-behavior.html