package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.lu0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1813lu0 extends AbstractC3035yo0 {
    public final /* synthetic */ int e;
    public final /* synthetic */ Object f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C1813lu0(Object obj, InterfaceC1619js0 interfaceC1619js0, int i) {
        super(interfaceC1619js0);
        this.e = i;
        this.f = obj;
    }

    @Override // o.AbstractC3035yo0
    public final void a() {
        switch (this.e) {
            case 0:
                C2098ou0 c2098ou0 = (C2098ou0) this.f;
                C2382ru0 c2382ru0 = c2098ou0.d;
                c2382ru0.r();
                Kr0 kr0 = (Kr0) c2382ru0.a;
                c2098ou0.a(false, false, kr0.k.elapsedRealtime());
                C2752vp0 c2752vp0 = kr0.n;
                Kr0.i(c2752vp0);
                c2752vp0.v(kr0.k.elapsedRealtime());
                break;
            case 1:
                C2952xu0 c2952xu0 = (C2952xu0) this.f;
                c2952xu0.w();
                Nq0 nq0 = ((Kr0) c2952xu0.a).f;
                Kr0.l(nq0);
                nq0.n.b("Starting upload from DelayedRunnable");
                c2952xu0.b.q();
                break;
            default:
                C1051dv0 c1051dv0 = (C1051dv0) this.f;
                c1051dv0.c().r();
                String str = (String) c1051dv0.q.pollFirst();
                if (str != null) {
                    c1051dv0.I = c1051dv0.e().elapsedRealtime();
                    c1051dv0.b().n.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 = c1051dv0.l.a;
                    if (Build.VERSION.SDK_INT < 34) {
                        context.sendBroadcast(intent);
                    } else {
                        context.sendBroadcast(intent, null, BroadcastOptions.makeBasic().setShareIdentityEnabled(true).toBundle());
                    }
                }
                c1051dv0.H();
                break;
        }
    }
}
