Minor improvements on Android 9/10. Let the user reset to root of storage.

This includes handling weird "raw:/" content URIs. These I haven't seen
on newer versions.
This commit is contained in:
Henrik Rydgård committed 2021-08-04 23:22:43 +02:00
1 parent 93673cb565
commit a0a5f7a67a
7 files changed
+74 -29

No files matched your search

+3 -1
View File
@@ -279,7 +279,9 @@ const char *Android_ErrorToString(StorageError error) {
#else
// This string should never appear except on Android.
// These strings should never appear except on Android.
// Very hacky.
std::string g_extFilesDir = "(IF YOU SEE THIS THERE'S A BUG)";
std::string g_externalDir = "(IF YOU SEE THIS THERE'S A BUG (2))";
#endif