summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authormahdihijazi <mahdi.hijaz@hotmail.com>2017-12-17 01:09:55 +0100
committermahdihijazi <mahdi.hijaz@hotmail.com>2017-12-18 14:32:39 +0100
commit1190afef51fc91042efce96e7c4a0cafe3d78ae5 (patch)
tree029e6ee724add8664ab6bc581a40ee14573b057e /Source/Core/Common/StringUtil.cpp
parent9f9b4bc0286a79f7b3d15fa11b1c5e2a70eb1b81 (diff)
[Android] Refactor AssetCopyService and the way we extract resources from the assets
This solves the following issues: 1. If user uninstall Dolphin and install it again the resources will not be copied unless the user manually clear the app cache because we are enabling the allowBackup flag in the manifest which will make the app restore the settings saved in the shared prefernces including the flag assetsCopied. This PR always copy the files everytime you open Dolphin. 2. If the AssetCopyService took long time and you tried to open the settings screen or start a game the behaviour was not expected or the emulator will crash, this PR make sure that whatever we add to the DirectoryInitializationService or how long it will take will still work as expected by blocking both the settings screen and the emulaion screen to wait untill all resources needed are copied. 3. Better communication between the DirectoryInitializationService and the UI screens using brocast messages.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
0 files changed, 0 insertions, 0 deletions