Add fallbacks to open alternate download managers
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 almost 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
The first fallback uses DocumentsContracts.Document.MIME_TYPE_DIR ("vnd.android.document/directory").
The second fallback uses "resource/folder".
If nothing is resolved, then a snackbar is displayed indicating that no compatible file manager is installed.