package p037.p123.p124.p134;

import android.content.Context;
import java.util.UUID;
import p037.p123.C2557;
import p037.p123.C2578;
import p037.p123.p124.C2588;
import p037.p123.p124.p132.C2650;
import p037.p123.p124.p133.C2682;
import p037.p123.p124.p134.p135.AbstractC2717;
import p037.p123.p124.p134.p135.C2729;

/* JADX INFO: renamed from: މ.ޗ.ޘ.ސ.ފ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class RunnableC2710 implements Runnable {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final /* synthetic */ C2729 f8394;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final /* synthetic */ UUID f8395;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final /* synthetic */ C2557 f8396;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final /* synthetic */ Context f8397;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public final /* synthetic */ C2711 f8398;

    public RunnableC2710(C2711 c2711, C2729 c2729, UUID uuid, C2557 c2557, Context context) {
        this.f8398 = c2711;
        this.f8394 = c2729;
        this.f8395 = uuid;
        this.f8396 = c2557;
        this.f8397 = context;
    }

    @Override // java.lang.Runnable
    public void run() {
        try {
            if (!(this.f8394.f8415 instanceof AbstractC2717.C2720)) {
                String string = this.f8395.toString();
                C2578.EnumC2579 enumC2579M4755 = ((C2682) this.f8398.f8401).m4755(string);
                if (enumC2579M4755 == null || enumC2579M4755.m4631()) {
                    throw new IllegalStateException("Calls to setForegroundAsync() must complete before a ListenableWorker signals completion of work by returning an instance of Result.");
                }
                ((C2588) this.f8398.f8400).m4641(string, this.f8396);
                this.f8397.startService(C2650.m4731(this.f8397, string, this.f8396));
            }
            this.f8394.m4798(null);
        } catch (Throwable th) {
            this.f8394.m4796(th);
        }
    }
}
