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

import android.app.Activity;

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public v1(i1 i1Var, Activity activity, int i10) {
        super((j1) i1Var.f20225b, true);
        this.f20484e = i10;
        if (i10 == 1) {
            this.f20485f = activity;
            this.f20486g = i1Var;
            super((j1) i1Var.f20225b, true);
            return;
        }
        if (i10 == 2) {
            this.f20485f = activity;
            this.f20486g = i1Var;
            super((j1) i1Var.f20225b, true);
        } else if (i10 == 3) {
            this.f20485f = activity;
            this.f20486g = i1Var;
            super((j1) i1Var.f20225b, true);
        } else if (i10 != 4) {
            this.f20485f = activity;
            this.f20486g = i1Var;
        } else {
            this.f20485f = activity;
            this.f20486g = i1Var;
            super((j1) i1Var.f20225b, true);
        }
    }

    @Override // com.google.android.gms.internal.measurement.g1
    public final void a() {
        switch (this.f20484e) {
            case 0:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(((j1) this.f20486g.f20225b).f20256i)).onActivityResumed(new k8.b(this.f20485f), this.f20200b);
                break;
            case 1:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(((j1) this.f20486g.f20225b).f20256i)).onActivityStarted(new k8.b(this.f20485f), this.f20200b);
                break;
            case 2:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(((j1) this.f20486g.f20225b).f20256i)).onActivityStopped(new k8.b(this.f20485f), this.f20200b);
                break;
            case 3:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(((j1) this.f20486g.f20225b).f20256i)).onActivityPaused(new k8.b(this.f20485f), this.f20200b);
                break;
            default:
                ((t0) com.google.android.gms.common.internal.w.checkNotNull(((j1) this.f20486g.f20225b).f20256i)).onActivityDestroyed(new k8.b(this.f20485f), this.f20200b);
                break;
        }
    }
}
