package o;

import android.app.Notification;
import android.os.Build;
import androidx.work.impl.foreground.SystemForegroundService;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.jc0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class RunnableC1587jc0 implements Runnable {
    public final /* synthetic */ int l;
    public final /* synthetic */ Notification m;
    public final /* synthetic */ int n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ SystemForegroundService f597o;

    public RunnableC1587jc0(SystemForegroundService systemForegroundService, int i, Notification notification, int i2) {
        this.f597o = systemForegroundService;
        this.l = i;
        this.m = notification;
        this.n = i2;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i = Build.VERSION.SDK_INT;
        int i2 = this.n;
        Notification notification = this.m;
        int i3 = this.l;
        SystemForegroundService systemForegroundService = this.f597o;
        if (i >= 31) {
            AbstractC1777lc0.a(systemForegroundService, i3, notification, i2);
        } else if (i >= 29) {
            AbstractC1682kc0.a(systemForegroundService, i3, notification, i2);
        } else {
            systemForegroundService.startForeground(i3, notification);
        }
    }
}
