Android: Implement opening ISOs through a file picker and Storage Access Framework

Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
This commit is contained in:
Henrik Rydgård
2021-02-27 13:49:20 +01:00
parent 35ad3106ff
commit 54c9e28444
10 changed files with 100 additions and 13 deletions
+2
View File
@@ -1529,6 +1529,8 @@ void Config::RemoveRecent(const std::string &file) {
}
}
// TODO: This can be called during shutdown at a point where we have no NativeActivity object.
// That causes us to drop all content URI isos since they fail to open.
void Config::CleanRecent() {
std::vector<std::string> cleanedRecent;
for (size_t i = 0; i < recentIsos.size(); i++) {