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

import android.app.job.JobParameters;
import android.app.job.JobService;
import android.util.Base64;
import java.util.concurrent.Executor;
import o.C0598Xb;
import o.C2156pc;
import o.C3126zm0;
import o.JY;
import o.O3;
import o.RunnableC1409hi0;
import o.Ug0;

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

    @Override // android.app.job.JobService
    public final boolean onStartJob(JobParameters jobParameters) {
        String string = jobParameters.getExtras().getString("backendName");
        String string2 = jobParameters.getExtras().getString("extras");
        int i = jobParameters.getExtras().getInt("priority");
        int i2 = jobParameters.getExtras().getInt("attemptNumber");
        Ug0.b(getApplicationContext());
        C3126zm0 c3126zm0A = C2156pc.a();
        c3126zm0A.P(string);
        c3126zm0A.f831o = JY.b(i);
        if (string2 != null) {
            c3126zm0A.n = Base64.decode(string2, 0);
        }
        C0598Xb c0598Xb = Ug0.a().d;
        ((Executor) c0598Xb.e).execute(new RunnableC1409hi0(c0598Xb, c3126zm0A.m(), i2, new O3(15, this, jobParameters)));
        return true;
    }

    @Override // android.app.job.JobService
    public final boolean onStopJob(JobParameters jobParameters) {
        return true;
    }
}
