mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
Merge pull request #10503 from JosJuice/android-directoryinitialization-thread
Android: Actually use a thread for DirectoryInitialization
This commit is contained in:
commit
e3106e8cdd
@ -55,8 +55,7 @@ public final class DirectoryInitialization
|
||||
directoryState.setValue(DirectoryInitializationState.INITIALIZING);
|
||||
|
||||
// Can take a few seconds to run, so don't block UI thread.
|
||||
//noinspection TrivialFunctionalExpressionUsage
|
||||
((Runnable) () -> init(context)).run();
|
||||
new Thread(() -> init(context)).start();
|
||||
}
|
||||
|
||||
private static void init(Context context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user