Skip to content

Commit 8726a02

Browse files
committed
[BackgroundUtil] Moved to github flavor
1 parent 2911330 commit 8726a02

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package de.davis.passwordmanager.utils;
2+
3+
import java.util.concurrent.Executor;
4+
import java.util.concurrent.Executors;
5+
6+
public class BackgroundUtil {
7+
8+
private static final Executor executor = Executors.newSingleThreadExecutor();
9+
10+
public static void doInBackground(Runnable runnable){
11+
executor.execute(runnable);
12+
}
13+
}

0 commit comments

Comments
 (0)