package o;

import android.app.job.JobParameters;
import android.app.job.JobServiceEngine;
import androidx.core.app.JobIntentService;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.bJ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class JobServiceEngineC0801bJ extends JobServiceEngine {
    public final JobIntentService a;
    public final Object b;
    public JobParameters c;

    public JobServiceEngineC0801bJ(JobIntentService jobIntentService) {
        super(jobIntentService);
        this.b = new Object();
        this.a = jobIntentService;
    }

    public final boolean onStartJob(JobParameters jobParameters) {
        this.c = jobParameters;
        this.a.a(false);
        return true;
    }

    public final boolean onStopJob(JobParameters jobParameters) {
        WI wi = this.a.n;
        if (wi != null) {
            wi.cancel(false);
        }
        synchronized (this.b) {
            this.c = null;
        }
        return true;
    }
}
