- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
24 lines
727 B
Java
24 lines
727 B
Java
package com.helpshift.concurrency;
|
|
|
|
import com.helpshift.log.HSLogger;
|
|
import com.helpshift.util.SafeWrappedRunnable;
|
|
import java.util.concurrent.ExecutorService;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class HSWorkerThreader implements HSThreader {
|
|
public ExecutorService executorService;
|
|
|
|
public HSWorkerThreader(ExecutorService executorService) {
|
|
this.executorService = executorService;
|
|
}
|
|
|
|
@Override // com.helpshift.concurrency.HSThreader
|
|
public void submit(Runnable runnable) {
|
|
try {
|
|
this.executorService.submit(new SafeWrappedRunnable(runnable));
|
|
} catch (Exception e) {
|
|
HSLogger.e("HSThreader", "Error while submitting request.", e);
|
|
}
|
|
}
|
|
}
|