what-the-bank/sources/o/C13077fPx.java

37 lines
1.0 KiB
Java

package o;
import android.app.Application;
import android.app.Service;
/* renamed from: o.fPx, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C13077fPx implements fPC<Object> {
private final Service a;
private Object b;
/* renamed from: o.fPx$LWm */
/* loaded from: classes.dex */
public interface LWm {
InterfaceC13067fPn e();
}
public C13077fPx(Service service) {
this.a = service;
}
@Override // o.fPC
public final Object y_() {
if (this.b == null) {
Application application = this.a.getApplication();
boolean z = application instanceof fPC;
Object[] objArr = {application.getClass()};
if (z) {
this.b = ((LWm) fOV.c(application, LWm.class)).e().aBM_(this.a).e();
} else {
throw new IllegalStateException(String.format("Hilt service must be attached to an @AndroidEntryPoint Application. Found: %s", objArr));
}
}
return this.b;
}
}