Actions
Bug #67
closedFile downloading broken in API <= 22
Start date:
10/22/2016
Due date:
% Done:
0%
Estimated time:
Description
Attempting to download a file causes a crase in API <= 22.
Actions
Added by Soren Stoutner about 8 years ago. Updated almost 7 years ago.
0%
Description
Attempting to download a file causes a crase in API <= 22.
This was caused by calling `setDestinationInExternalFilesDir()`, which needs extra permissions in API <= 22. Fixed in commit https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=1bd5ba3b9f91e69517fa8a39665256f0badc408b
With this fix, downloads for API >= 23 are stored in the public /sdcard/Android/data/com.stoutner.privacybrowser.standard/files, while downloads for API <= 22 are stored in the private Download Manager internal storage.