mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 08:54:15 +00:00
ab735293b1
When I made 9c8bb24, I assumed it was completely impossible for a non-preloaded app to access the entirety of the Android/data/ folder on Android 11. This turned out to be false. While you can't access the directory without using SAF (even if you have the Manage All Files permission), and the user can't navigate to the folder using the SAF folder picker, what you can do is pass the Android/data/ folder as an EXTRA_INITIAL_URI to the SAF folder picker. If the user then presses "use this folder" without navigating out of the folder, the app will be able to access the folder using SAF. So what does that mean for Dolphin? It means scoped storage is a little less bad than I feared, and I have a string to adjust.