package d3;

import android.app.BroadcastOptions;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.SystemClock;

/* JADX INFO: loaded from: classes.dex */
public final class z1 extends AbstractC0808o {

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ z1(Object obj, B0 b02, int i) {
        super(b02);
        this.f12237e = i;
        this.f12238f = obj;
    }

    @Override // d3.AbstractC0808o
    public final void b() {
        switch (this.f12237e) {
            case n4.u0.f15495q /* 0 */:
                L0.X x8 = (L0.X) this.f12238f;
                A1 a1 = (A1) x8.f3746t;
                a1.E();
                C0817r0 c0817r0 = (C0817r0) a1.f5146q;
                c0817r0.D.getClass();
                x8.a(false, false, SystemClock.elapsedRealtime());
                C0764A c0764a = c0817r0.f12126G;
                C0817r0.h(c0764a);
                c0817r0.D.getClass();
                c0764a.H(SystemClock.elapsedRealtime());
                break;
            case 1:
                F1 f12 = (F1) this.f12238f;
                f12.I();
                Z z8 = ((C0817r0) f12.f5146q).f12150y;
                C0817r0.k(z8);
                z8.D.b("Starting upload from DelayedRunnable");
                f12.f11473r.X();
                break;
            default:
                Q1 q12 = (Q1) this.f12238f;
                q12.c().E();
                String str = (String) q12.f11663G.pollFirst();
                if (str != null) {
                    q12.d().getClass();
                    q12.f11679Y = SystemClock.elapsedRealtime();
                    q12.e().D.c(str, "Sending trigger URI notification to app");
                    Intent intent = new Intent();
                    intent.setAction("com.google.android.gms.measurement.TRIGGERS_AVAILABLE");
                    intent.setPackage(str);
                    Context context = q12.f11659B.f12142q;
                    if (Build.VERSION.SDK_INT < 34) {
                        context.sendBroadcast(intent);
                    } else {
                        context.sendBroadcast(intent, null, BroadcastOptions.makeBasic().setShareIdentityEnabled(true).toBundle());
                    }
                }
                q12.E();
                break;
        }
    }
}
