CrackMe.apk
Download file
package androidx.core.os;
import android.os.Handler;
import androidx.core.util.Preconditions;
import java.util.concurrent.Executor;
import java.util.concurrent.RejectedExecutionException;
public final class ExecutorCompat {
public static Executor create(Handler handler) {
return new HandlerExecutor(handler);
}
private ExecutorCompat() {
}
private static class HandlerExecutor implements Executor {
private final Handler mHandler;
HandlerExecutor(Handler handler) {
this.mHandler = (Handler) Preconditions.checkNotNull(handler);
}
public void execute(Runnable runnable) {
if (!this.mHandler.post((Runnable) Preconditions.checkNotNull(runnable))) {
throw new RejectedExecutionException(this.mHandler + " is shutting down");
}
}
}
}
Download file