package ඓ.ῲ.K.㑃;

import java.util.Collections;
import java.util.Set;
import java.util.WeakHashMap;
import ඓ.ῲ.K.ᓣ.C0845;

/* renamed from: ඓ.ῲ.K.㑃.K  reason: contains not printable characters */
/* compiled from: ActivityFragmentLifecycle */
public class C1178 implements AbstractC1187 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public boolean f4709;

    /* renamed from: ῲ  reason: contains not printable characters */
    public boolean f4710;

    /* renamed from: K  reason: contains not printable characters */
    public final Set<AbstractC1175> f4711 = Collections.newSetFromMap(new WeakHashMap());

    /* renamed from: ʬ  reason: contains not printable characters */
    public void m3146() {
        this.f4710 = false;
        for (AbstractC1175 r1 : C0845.m2457(this.f4711)) {
            r1.onStop();
        }
    }

    @Override // ඓ.ῲ.K.㑃.AbstractC1187
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m3148(AbstractC1175 r2) {
        this.f4711.remove(r2);
    }

    @Override // ඓ.ῲ.K.㑃.AbstractC1187
    /* renamed from: K  reason: contains not printable characters */
    public void m3150(AbstractC1175 r2) {
        this.f4711.add(r2);
        if (this.f4709) {
            r2.m3141();
        } else if (this.f4710) {
            r2.m3142();
        } else {
            r2.onStop();
        }
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public void m3147() {
        this.f4710 = true;
        for (AbstractC1175 r1 : C0845.m2457(this.f4711)) {
            r1.m3142();
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m3149() {
        this.f4709 = true;
        for (AbstractC1175 r1 : C0845.m2457(this.f4711)) {
            r1.m3141();
        }
    }
}
