Feature #671
closedAdd fallbacks to open alternate download managers
0%
Description
Currently Privacy Browser crashes if Downloads is selected from the navigation menu and the default download manager doesn't exist. This should never happen, as the download manager is a core part of the Android Open Source Project. However, a number of users have either inadvertently disabled it or it has been removed from their ROMs. It would probably be preferable to display a snackbar of some sort rather than have the app crash.
Updated by Soren Stoutner over 3 years ago
- Priority changed from 3.x to Next Release
Updated by Soren Stoutner over 3 years ago
- Subject changed from Consider adding a warning if the default download manager doesn't exist to Add fallbacks to open alternate download managers
- Status changed from New to Closed
Implemented in commit https://gitweb.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=6459b4b6f71dc883376a9f6c68ae34eb63a0c0fe.
The first fallback uses DocumentsContracts.Document.MIME_TYPE_DIR ("vnd.android.document/directory").
https://github.com/TeamAmaze/AmazeFileManager/commit/2c14ba516b1e0eb845476ef3a8f930049e250b76
The second fallback uses "resource/folder".
https://github.com/syncthing/syncthing-android/issues/838
If nothing is resolved, then a snackbar is displayed indicating that no compatible file manager is installed.