what-the-bank/sources/o/qYE.java

33 lines
853 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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());
}
}
}