33 lines
853 B
Java
33 lines
853 B
Java
package o;
|
|
|
|
import android.os.Handler;
|
|
import java.util.concurrent.Executor;
|
|
import java.util.concurrent.RejectedExecutionException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class qYE {
|
|
public static Executor qu_(Handler handler) {
|
|
return new IeS(handler);
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class IeS implements Executor {
|
|
private final Handler e;
|
|
|
|
IeS(Handler handler) {
|
|
this.e = handler;
|
|
}
|
|
|
|
@Override // java.util.concurrent.Executor
|
|
public void execute(Runnable runnable) {
|
|
if (this.e.post(runnable)) {
|
|
return;
|
|
}
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(this.e);
|
|
sb.append(" is shutting down");
|
|
throw new RejectedExecutionException(sb.toString());
|
|
}
|
|
}
|
|
}
|