package com.google.firebase.concurrent;

import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.Executor;

/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* JADX INFO: loaded from: classes2.dex */
public final class UiExecutor implements Executor {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final UiExecutor f24051a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final Handler f24052b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final /* synthetic */ UiExecutor[] f24053c;

    static {
        UiExecutor uiExecutor = new UiExecutor("INSTANCE", 0);
        f24051a = uiExecutor;
        f24053c = new UiExecutor[]{uiExecutor};
        f24052b = new Handler(Looper.getMainLooper());
    }

    public static UiExecutor valueOf(String str) {
        return (UiExecutor) Enum.valueOf(UiExecutor.class, str);
    }

    public static UiExecutor[] values() {
        return (UiExecutor[]) f24053c.clone();
    }

    @Override // java.util.concurrent.Executor
    public final void execute(Runnable runnable) {
        f24052b.post(runnable);
    }
}
