103 lines
3.0 KiB
Java
103 lines
3.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.os.Looper;
|
||
|
import androidx.activity.ComponentActivity;
|
||
|
import java.util.HashSet;
|
||
|
import java.util.Set;
|
||
|
import o.VLM;
|
||
|
import o.fOY;
|
||
|
|
||
|
/* renamed from: o.fPq, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
final class C13070fPq implements fPC<InterfaceC13054fPa> {
|
||
|
private volatile InterfaceC13054fPa a;
|
||
|
private final Object b = new Object();
|
||
|
private final VLM e;
|
||
|
|
||
|
/* renamed from: o.fPq$HBt */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public interface HBt {
|
||
|
fOY a();
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fPq$IeS */
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface IeS {
|
||
|
InterfaceC13062fPi a();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.fPq$RVV */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class RVV extends VKL {
|
||
|
final InterfaceC13054fPa e;
|
||
|
|
||
|
RVV(InterfaceC13054fPa interfaceC13054fPa) {
|
||
|
this.e = interfaceC13054fPa;
|
||
|
}
|
||
|
|
||
|
@Override // o.VKL
|
||
|
public final void onCleared() {
|
||
|
super.onCleared();
|
||
|
LWm lWm = (LWm) ((HBt) fOV.c(this.e, HBt.class)).a();
|
||
|
if (C13063fPj.b == null) {
|
||
|
C13063fPj.b = Looper.getMainLooper().getThread();
|
||
|
}
|
||
|
if (Thread.currentThread() == C13063fPj.b) {
|
||
|
lWm.a = true;
|
||
|
for (fOY.RVV rvv : lWm.c) {
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("Must be called on the Main thread.");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public C13070fPq(ComponentActivity componentActivity) {
|
||
|
this.e = new VLM(componentActivity, new VLM.LWm(this, componentActivity) { // from class: o.fPq.1
|
||
|
private C13070fPq b;
|
||
|
private Context d;
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.d = componentActivity;
|
||
|
}
|
||
|
|
||
|
@Override // o.VLM.LWm
|
||
|
public final <T extends VKL> T create(Class<T> cls) {
|
||
|
Context context = this.d;
|
||
|
C14957gcv.e(context, "");
|
||
|
C14957gcv.e(IeS.class, "");
|
||
|
return new RVV(((IeS) fOV.c(C13059fPf.aBK_(context.getApplicationContext()), IeS.class)).a().d());
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
@Override // o.fPC
|
||
|
/* renamed from: d, reason: merged with bridge method [inline-methods] */
|
||
|
public InterfaceC13054fPa y_() {
|
||
|
if (this.a == null) {
|
||
|
synchronized (this.b) {
|
||
|
if (this.a == null) {
|
||
|
this.a = ((RVV) this.e.b(RVV.class)).e;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return this.a;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fPq$LWm */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class LWm implements fOY {
|
||
|
final Set<fOY.RVV> c = new HashSet();
|
||
|
boolean a = false;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public LWm() {
|
||
|
}
|
||
|
}
|
||
|
}
|