35 lines
1.3 KiB
Java
35 lines
1.3 KiB
Java
package com.google.firebase.datatransport;
|
|
|
|
import android.content.Context;
|
|
import com.google.firebase.components.Component;
|
|
import com.google.firebase.components.ComponentContainer;
|
|
import com.google.firebase.components.ComponentFactory;
|
|
import com.google.firebase.components.ComponentRegistrar;
|
|
import com.google.firebase.components.Dependency;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
import o.C0379FgY;
|
|
import o.FsM;
|
|
import o.SnM;
|
|
import o.kYm;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class TransportRegistrar implements ComponentRegistrar {
|
|
@Override // com.google.firebase.components.ComponentRegistrar
|
|
public List<Component<?>> getComponents() {
|
|
ComponentFactory componentFactory;
|
|
Component.Builder add = Component.builder(FsM.class).add(Dependency.required(Context.class));
|
|
componentFactory = TransportRegistrar$$Lambda$1.instance;
|
|
return Collections.singletonList(add.factory(componentFactory).build());
|
|
}
|
|
|
|
public static /* synthetic */ FsM lambda$getComponents$0(ComponentContainer componentContainer) {
|
|
SnM.b((Context) componentContainer.get(Context.class));
|
|
kYm kym = SnM.c;
|
|
if (kym != null) {
|
|
return kym.b().a(C0379FgY.a);
|
|
}
|
|
throw new IllegalStateException("Not initialized!");
|
|
}
|
|
}
|