package v6;

import android.os.Process;

/* JADX INFO: loaded from: classes2.dex */
public final class t implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f33721a = 0;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Runnable f33722b;

    public t(Runnable runnable, int i10) {
        this.f33722b = runnable;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f33721a;
        Runnable runnable = this.f33722b;
        switch (i10) {
            case 0:
                try {
                    runnable.run();
                } catch (Exception unused) {
                    com.bumptech.glide.g.k("Executor");
                    return;
                }
                break;
            default:
                Process.setThreadPriority(0);
                runnable.run();
                break;
        }
    }

    public t(Runnable runnable) {
        this.f33722b = runnable;
    }
}
