diff options
| author | JosJuice <josjuice@gmail.com> | 2023-03-14 22:58:28 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2023-03-14 23:03:13 +0100 |
| commit | 846f5f667188b6addfc2a008f5209065eac6bcee (patch) | |
| tree | 592edb8742f3da8e9343238a99b294506dc6cd08 /Source/Android/app/src/main/java/org | |
| parent | 4281606838c705f81022348eaa5b001e577436a4 (diff) | |
Android: Clean up outdated comment in AfterDirectoryInitializationRunner
Diffstat (limited to 'Source/Android/app/src/main/java/org')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/AfterDirectoryInitializationRunner.java | 34 |
1 files changed, 8 insertions, 26 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/AfterDirectoryInitializationRunner.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/AfterDirectoryInitializationRunner.java index 651512bcb4..8d0d555caa 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/AfterDirectoryInitializationRunner.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/AfterDirectoryInitializationRunner.java @@ -12,20 +12,11 @@ public class AfterDirectoryInitializationRunner private Observer<DirectoryInitializationState> mObserver; /** - * Executes a Runnable after directory initialization has finished. + * Executes a Runnable once directory initialization finishes. * - * If this is called when directory initialization already is done, - * the Runnable will be executed immediately. If this is called before - * directory initialization is done, the Runnable will be executed - * after directory initialization finishes successfully, or never - * in case directory initialization doesn't finish successfully. - * - * Calling this function multiple times per object is not supported. - * - * If abortOnFailure is true and external storage was not found, a message - * will be shown to the user and the Runnable will not run. If it is false, - * the attempt to run the Runnable will never be aborted, and the Runnable - * is guaranteed to run if directory initialization ever finishes. + * If this is called when directory initialization already has finished, the Runnable will + * be executed immediately. If this is called before directory initialization has finished, + * the Runnable will be executed after directory initialization finishes. * * If the passed-in activity gets destroyed before this operation finishes, * it will be automatically canceled. @@ -44,20 +35,11 @@ public class AfterDirectoryInitializationRunner } /** - * Executes a Runnable after directory initialization has finished. - * - * If this is called when directory initialization already is done, - * the Runnable will be executed immediately. If this is called before - * directory initialization is done, the Runnable will be executed - * after directory initialization finishes successfully, or never - * in case directory initialization doesn't finish successfully. - * - * Calling this function multiple times per object is not supported. + * Executes a Runnable once directory initialization finishes. * - * If abortOnFailure is true and external storage was not found, a message - * will be shown to the user and the Runnable will not run. If it is false, - * the attempt to run the Runnable will never be aborted, and the Runnable - * is guaranteed to run if directory initialization ever finishes. + * If this is called when directory initialization already has finished, the Runnable will + * be executed immediately. If this is called before directory initialization has finished, + * the Runnable will be executed after directory initialization finishes. */ public void runWithoutLifecycle(Runnable runnable) { |
