package o;

import android.os.Handler;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class RY implements InterfaceC0898cL {
    public static final RY t = new RY();
    public int l;
    public int m;
    public Handler p;
    public boolean n = true;

    /* renamed from: o, reason: collision with root package name */
    public boolean f313o = true;
    public final C1089eL q = new C1089eL(this);
    public final RunnableC2108p1 r = new RunnableC2108p1(16, this);
    public final WT s = new WT(4, this);

    public final void a() {
        int i = this.m + 1;
        this.m = i;
        if (i == 1) {
            if (!this.n) {
                this.p.removeCallbacks(this.r);
            } else {
                this.q.f(UK.ON_RESUME);
                this.n = false;
            }
        }
    }

    @Override // o.InterfaceC0898cL
    public final WK getLifecycle() {
        return this.q;
    }
}
