package androidx.browser.customtabs;

import android.os.Bundle;

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

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

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

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

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

    public /* synthetic */ g(k kVar, String str, Bundle bundle, int i10) {
        this.f854a = i10;
        this.f857d = kVar;
        this.f855b = str;
        this.f856c = bundle;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f854a;
        Bundle bundle = this.f856c;
        String str = this.f855b;
        k kVar = this.f857d;
        switch (i10) {
            case 0:
                kVar.f876b.extraCallback(str, bundle);
                break;
            default:
                kVar.f876b.onPostMessage(str, bundle);
                break;
        }
    }
}
