package androidx.lifecycle;

import android.os.Handler;

/* JADX INFO: loaded from: classes.dex */
public final class K implements InterfaceC1113w {
    public static final K l = new K();

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f12097a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f12098b;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public Handler f12101e;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f12099c = true;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f12100d = true;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final C1115y f12102f = new C1115y(this, true);

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final F1.r f12103j = new F1.r(this, 6);

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final h0 f12104k = new h0(this);

    public final void a() {
        int i6 = this.f12098b + 1;
        this.f12098b = i6;
        if (i6 == 1) {
            if (this.f12099c) {
                this.f12102f.c(EnumC1107p.ON_RESUME);
                this.f12099c = false;
            } else {
                Handler handler = this.f12101e;
                kotlin.jvm.internal.o.e(handler);
                handler.removeCallbacks(this.f12103j);
            }
        }
    }

    @Override // androidx.lifecycle.InterfaceC1113w
    public final r getLifecycle() {
        return this.f12102f;
    }
}
