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

import android.app.Activity;
import android.os.Bundle;

/* JADX INFO: loaded from: classes2.dex */
public final class n1 extends g1 {

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

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

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

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final /* synthetic */ j1 f20330h;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public n1(j1 j1Var, Activity activity, String str, String str2) {
        super(j1Var, true);
        this.f20327e = 2;
        this.f20331i = activity;
        this.f20328f = str;
        this.f20329g = str2;
        this.f20330h = j1Var;
    }

    @Override // com.google.android.gms.internal.measurement.g1
    public final void a() {
        switch (this.f20327e) {
            case 0:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(this.f20330h.f20256i)).getConditionalUserProperties(this.f20328f, this.f20329g, (u0) this.f20331i);
                break;
            case 1:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(this.f20330h.f20256i)).clearConditionalUserProperty(this.f20328f, this.f20329g, (Bundle) this.f20331i);
                break;
            default:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(this.f20330h.f20256i)).setCurrentScreen(new k8.b((Activity) this.f20331i), this.f20328f, this.f20329g, this.f20199a);
                break;
        }
    }

    @Override // com.google.android.gms.internal.measurement.g1
    public final void b() {
        switch (this.f20327e) {
            case 0:
                ((u0) this.f20331i).H(null);
                break;
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public n1(j1 j1Var, String str, String str2, Object obj, int i10) {
        super(j1Var, true);
        this.f20327e = i10;
        this.f20328f = str;
        this.f20329g = str2;
        this.f20331i = obj;
        this.f20330h = j1Var;
    }
}
