mirror of
https://github.com/android10/Android-CleanArchitecture.git
synced 2026-03-13 10:13:41 +08:00
bugfix JobExecutor thread name always android_0
This commit is contained in:
@@ -65,7 +65,7 @@ public class JobExecutor implements ThreadExecutor {
|
||||
private int counter = 0;
|
||||
|
||||
@Override public Thread newThread(Runnable runnable) {
|
||||
return new Thread(runnable, THREAD_NAME + counter);
|
||||
return new Thread(runnable, THREAD_NAME + counter++);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user