package androidx.browser.customtabs;

import android.os.Bundle;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class w implements Runnable {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ c0 f889b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ boolean f890c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ Bundle f891d;

    public /* synthetic */ w(c0 c0Var, boolean z10, Bundle bundle, int i10) {
        this.f888a = i10;
        this.f889b = c0Var;
        this.f890c = z10;
        this.f891d = bundle;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f888a;
        Bundle bundle = this.f891d;
        boolean z10 = this.f890c;
        c0 c0Var = this.f889b;
        switch (i10) {
            case 0:
                c0Var.onVerticalScrollEvent(z10, bundle);
                break;
            default:
                c0Var.onSessionEnded(z10, bundle);
                break;
        }
    }
}
