package o;

import android.util.Log;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class V30 implements Runnable {
    public final /* synthetic */ int l;
    public final Runnable m;

    public /* synthetic */ V30(Runnable runnable, int i) {
        this.l = i;
        this.m = runnable;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                try {
                    this.m.run();
                    break;
                } catch (Exception unused) {
                    Log.isLoggable(IJ.u("Executor"), 6);
                    return;
                }
            default:
                this.m.run();
                break;
        }
    }

    public String toString() {
        switch (this.l) {
            case 1:
                return this.m.toString();
            default:
                return super.toString();
        }
    }
}
