32 lines
981 B
Java
32 lines
981 B
Java
package s.a;
|
|
|
|
import java.lang.reflect.Method;
|
|
import java.util.concurrent.Executor;
|
|
import java.util.concurrent.ScheduledThreadPoolExecutor;
|
|
import s.a.a.e;
|
|
/* compiled from: Executors.kt */
|
|
public final class v0 extends u0 {
|
|
public final Executor j;
|
|
|
|
public v0(Executor executor) {
|
|
Method method;
|
|
this.j = executor;
|
|
Method method2 = e.a;
|
|
boolean z2 = false;
|
|
try {
|
|
ScheduledThreadPoolExecutor scheduledThreadPoolExecutor = (ScheduledThreadPoolExecutor) (!(executor instanceof ScheduledThreadPoolExecutor) ? null : executor);
|
|
if (!(scheduledThreadPoolExecutor == null || (method = e.a) == null)) {
|
|
method.invoke(scheduledThreadPoolExecutor, Boolean.TRUE);
|
|
z2 = true;
|
|
}
|
|
} catch (Throwable unused) {
|
|
}
|
|
this.i = z2;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.ExecutorCoroutineDispatcher
|
|
public Executor H() {
|
|
return this.j;
|
|
}
|
|
}
|