package o;

import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import java.lang.reflect.InvocationTargetException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Eq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0120Eq extends AbstractC2539te {
    public final Object f = new Object();
    public final ExecutorService g = Executors.newFixedThreadPool(4, new ThreadFactoryC0068Cq());
    public volatile Handler h;

    public static Handler b0(Looper looper) {
        if (Build.VERSION.SDK_INT >= 28) {
            return AbstractC0094Dq.b(looper);
        }
        try {
            return (Handler) Handler.class.getDeclaredConstructor(Looper.class, Handler.Callback.class, Boolean.TYPE).newInstance(looper, null, Boolean.TRUE);
        } catch (IllegalAccessException | InstantiationException | NoSuchMethodException unused) {
            return new Handler(looper);
        } catch (InvocationTargetException unused2) {
            return new Handler(looper);
        }
    }
}
