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

import java.util.concurrent.atomic.AtomicReference;

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

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

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

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

    public /* synthetic */ n2(g2 g2Var, long j10, int i10) {
        this.f21789a = i10;
        this.f21790b = j10;
        this.f21791c = g2Var;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f21789a;
        long j10 = this.f21790b;
        g2 g2Var = this.f21791c;
        switch (i10) {
            case 0:
                g2Var.u().f21994l.b(j10);
                p0 p0VarZzj = g2Var.zzj();
                p0VarZzj.f21841m.b(Long.valueOf(j10), "Session timeout duration set");
                break;
            default:
                g2Var.G(j10, true);
                g2Var.B().J(new AtomicReference());
                break;
        }
    }
}
