package com.google.android.gms.measurement.internal;

import android.os.Bundle;
import android.text.TextUtils;

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

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

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

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

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

    public /* synthetic */ j2(g2 g2Var, Bundle bundle, long j10) {
        this.f21679c = g2Var;
        this.f21680d = bundle;
        this.f21678b = j10;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f21677a) {
            case 0:
                g2 g2Var = (g2) this.f21679c;
                Bundle bundle = (Bundle) this.f21680d;
                long j10 = this.f21678b;
                if (!TextUtils.isEmpty(g2Var.x().H())) {
                    g2Var.zzj().f21839k.c("Using developer consent only; google app id found");
                } else {
                    g2Var.H(bundle, 0, j10);
                }
                break;
            default:
                ((w2) this.f21680d).L((x2) this.f21679c, false, this.f21678b);
                w2 w2Var = (w2) this.f21680d;
                w2Var.f21961e = null;
                a3 a3VarB = w2Var.B();
                a3VarB.w();
                a3VarB.D();
                a3VarB.I(new s1(a3VarB, (Object) null, 9));
                break;
        }
    }

    public j2(w2 w2Var, x2 x2Var, long j10) {
        this.f21679c = x2Var;
        this.f21678b = j10;
        this.f21680d = w2Var;
    }
}
