package com.google.android.datatransport.runtime.scheduling.jobscheduling;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Base64;
import java.util.concurrent.Executor;
import o.C0598Xb;
import o.C2156pc;
import o.C3126zm0;
import o.JY;
import o.RunnableC1409hi0;
import o.Ug0;
import o.Y1;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public class AlarmManagerSchedulerBroadcastReceiver extends BroadcastReceiver {
    public static final /* synthetic */ int a = 0;

    @Override // android.content.BroadcastReceiver
    public final void onReceive(Context context, Intent intent) {
        String queryParameter = intent.getData().getQueryParameter("backendName");
        String queryParameter2 = intent.getData().getQueryParameter("extras");
        int iIntValue = Integer.valueOf(intent.getData().getQueryParameter("priority")).intValue();
        int i = intent.getExtras().getInt("attemptNumber");
        Ug0.b(context);
        C3126zm0 c3126zm0A = C2156pc.a();
        c3126zm0A.P(queryParameter);
        c3126zm0A.f831o = JY.b(iIntValue);
        if (queryParameter2 != null) {
            c3126zm0A.n = Base64.decode(queryParameter2, 0);
        }
        C0598Xb c0598Xb = Ug0.a().d;
        ((Executor) c0598Xb.e).execute(new RunnableC1409hi0(c0598Xb, c3126zm0A.m(), i, new Y1(0)));
    }
}
