mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-25 07:58:40 -05: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…
Reference in New Issue
Block a user