package p049q; import java.util.ArrayList; import p040n.C1481c; /* renamed from: q.l */ /* loaded from: classes.dex */ public class C1560l extends C1550e { /* renamed from: L0 */ public ArrayList f3629L0 = new ArrayList<>(); /* renamed from: a */ public void m890a(C1550e c1550e) { this.f3629L0.add(c1550e); if (c1550e.m1038I() != null) { ((C1560l) c1550e.m1038I()).m887q1(c1550e); } c1550e.m1004Z0(this); } /* renamed from: o1 */ public ArrayList m889o1() { return this.f3629L0; } /* renamed from: p1 */ public void mo888p1() { ArrayList arrayList = this.f3629L0; if (arrayList == null) { return; } int size = arrayList.size(); for (int i = 0; i < size; i++) { C1550e c1550e = this.f3629L0.get(i); if (c1550e instanceof C1560l) { ((C1560l) c1550e).mo888p1(); } } } /* renamed from: q1 */ public void m887q1(C1550e c1550e) { this.f3629L0.remove(c1550e); c1550e.mo886r0(); } @Override // p049q.C1550e /* renamed from: r0 */ public void mo886r0() { this.f3629L0.clear(); super.mo886r0(); } /* renamed from: r1 */ public void m885r1() { this.f3629L0.clear(); } @Override // p049q.C1550e /* renamed from: t0 */ public void mo884t0(C1481c c1481c) { super.mo884t0(c1481c); int size = this.f3629L0.size(); for (int i = 0; i < size; i++) { this.f3629L0.get(i).mo884t0(c1481c); } } }