dolphin/Source
JosJuice 1646197902 Android: Force quit app if external storage isn't mounted
In the past, directory initialization could fail for two reasons:
The user was rejecting the storage permission, or external storage
wasn't mounted. With the introduction of scoped storage, the first of
these two couldn't happen anymore; if the user rejects the storage
permission, we just use the app-specific directory instead of the
dolphin-emu directory.

By making it so Dolphin force quits if external storage isn't mounted,
we can get rid of our code for handling retrying directory initialization
after it fails. I think this slight hit to UX is worth it considering
that basically nobody has an Android device with detachable primary
external storage anymore. And the UX hit is very small; the user just has
to manually open the app again after remounting external storage. The
toast about external storage not being mounted will still be displayed.

The recent merge of the splash screen PR may have made it so that the
code for handling directory initialization failing doesn't work anymore.
To be completely honest, I'm not sure how to even test this in 2022.
2022-08-13 18:59:23 +02:00
..
Android Android: Force quit app if external storage isn't mounted 2022-08-13 18:59:23 +02:00
Core Merge pull request #10972 from AdmiralCurtiss/ios-fs-metadata-nop 2022-08-11 16:16:45 +01:00
DSPSpy
DSPTool Add Discord presence ioctlv to /dev/dolphin 2022-08-06 07:32:29 +01:00
PCH
UnitTests Add Discord presence ioctlv to /dev/dolphin 2022-08-06 07:32:29 +01:00
VSProps msbuild: set PreferredToolArchitecture based on host OS arch 2022-07-30 11:01:47 -07:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt Move to C++20 for non-MSVC compilers 2022-07-30 23:35:53 +01:00
dolphin-emu.sln replace libpng with libspng 2022-07-25 18:32:16 -07:00