package X6FRs_4.KNBe_11;

import X6FRs_4.KNBe_11.IFxWkV_5;
import android.os.Handler;
/* compiled from: ServiceLifecycleDispatcher.java */
/* loaded from: classes.dex */
public class Eps4cJe_18 {
    public KQgRr5e_0 KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final XnFJ5_9 f600KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final Handler f601KQgRr5e_0 = new Handler();

    /* compiled from: ServiceLifecycleDispatcher.java */
    /* loaded from: classes.dex */
    public static class KQgRr5e_0 implements Runnable {
        public final IFxWkV_5.KQgRr5e_0 KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final XnFJ5_9 f602KQgRr5e_0;
        public boolean QxJ9d_1 = false;

        public KQgRr5e_0(XnFJ5_9 xnFJ5_9, IFxWkV_5.KQgRr5e_0 kQgRr5e_0) {
            this.f602KQgRr5e_0 = xnFJ5_9;
            this.KQgRr5e_0 = kQgRr5e_0;
        }

        @Override // java.lang.Runnable
        public void run() {
            if (this.QxJ9d_1) {
                return;
            }
            this.f602KQgRr5e_0.m361KQgRr5e_0(this.KQgRr5e_0);
            this.QxJ9d_1 = true;
        }
    }

    public Eps4cJe_18(Xgtqvk_8 xgtqvk_8) {
        this.f600KQgRr5e_0 = new XnFJ5_9(xgtqvk_8);
    }

    public final void KQgRr5e_0(IFxWkV_5.KQgRr5e_0 kQgRr5e_0) {
        KQgRr5e_0 kQgRr5e_02 = this.KQgRr5e_0;
        if (kQgRr5e_02 != null) {
            kQgRr5e_02.run();
        }
        KQgRr5e_0 kQgRr5e_03 = new KQgRr5e_0(this.f600KQgRr5e_0, kQgRr5e_0);
        this.KQgRr5e_0 = kQgRr5e_03;
        this.f601KQgRr5e_0.postAtFrontOfQueue(kQgRr5e_03);
    }

    public void Mqv2r_3() {
        KQgRr5e_0(IFxWkV_5.KQgRr5e_0.ON_START);
    }

    public void PGPF6hQ_2() {
        KQgRr5e_0(IFxWkV_5.KQgRr5e_0.ON_STOP);
        KQgRr5e_0(IFxWkV_5.KQgRr5e_0.ON_DESTROY);
    }

    public void QxJ9d_1() {
        KQgRr5e_0(IFxWkV_5.KQgRr5e_0.ON_CREATE);
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m355KQgRr5e_0() {
        KQgRr5e_0(IFxWkV_5.KQgRr5e_0.ON_START);
    }

    public IFxWkV_5 KQgRr5e_0() {
        return this.f600KQgRr5e_0;
    }
}
