CrackMe.apk
Download file
package com.facebook.react.bridge;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
public class BackgroundExecutor {
private static final String TAG = "FabricBackgroundExecutor";
private final ExecutorService mExecutorService;
private static class NamedThreadFactory implements ThreadFactory {
private final String mName;
public NamedThreadFactory(String str) {
this.mName = str;
}
public Thread newThread(Runnable runnable) {
Thread newThread = Executors.defaultThreadFactory().newThread(runnable);
newThread.setName(this.mName);
return newThread;
}
}
private BackgroundExecutor(String str) {
this.mExecutorService = Executors.newFixedThreadPool(1, new NamedThreadFactory(str));
}
private void queueRunnable(Runnable runnable) {
if (runnable == null) {
ReactSoftExceptionLogger.logSoftException(TAG, new ReactNoCrashSoftException("runnable is null"));
return;
}
ExecutorService executorService = this.mExecutorService;
if (executorService == null) {
ReactSoftExceptionLogger.logSoftException(TAG, new ReactNoCrashSoftException("executorService is null"));
} else {
executorService.execute(runnable);
}
}
}
Download file