57 lines
2.1 KiB
Java
57 lines
2.1 KiB
Java
|
package com.google.firebase.messaging;
|
||
|
|
||
|
import com.google.firebase.FirebaseApp;
|
||
|
import com.google.firebase.components.Component;
|
||
|
import com.google.firebase.components.ComponentRegistrar;
|
||
|
import com.google.firebase.components.Dependency;
|
||
|
import com.google.firebase.heartbeatinfo.HeartBeatInfo;
|
||
|
import com.google.firebase.iid.FirebaseInstanceId;
|
||
|
import com.google.firebase.installations.FirebaseInstallationsApi;
|
||
|
import com.google.firebase.platforminfo.LibraryVersionComponent;
|
||
|
import com.google.firebase.platforminfo.UserAgentPublisher;
|
||
|
import java.util.Arrays;
|
||
|
import java.util.List;
|
||
|
import o.C1332aAy;
|
||
|
import o.FsM;
|
||
|
import o.KRW;
|
||
|
import o.XZB;
|
||
|
import o.kcd;
|
||
|
import o.mUN;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class FirebaseMessagingRegistrar implements ComponentRegistrar {
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public static final class zzb implements FsM {
|
||
|
@Override // o.FsM
|
||
|
public final <T> KRW<T> getTransport(String str, Class<T> cls, kcd<T, byte[]> kcdVar) {
|
||
|
return new zza();
|
||
|
}
|
||
|
|
||
|
@Override // o.FsM
|
||
|
public final <T> KRW<T> getTransport(String str, Class<T> cls, C1332aAy c1332aAy, kcd<T, byte[]> kcdVar) {
|
||
|
return new zza();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
static final class zza<T> implements KRW<T> {
|
||
|
private zza() {
|
||
|
}
|
||
|
|
||
|
@Override // o.KRW
|
||
|
public final void send(XZB<T> xzb) {
|
||
|
}
|
||
|
|
||
|
@Override // o.KRW
|
||
|
public final void schedule(XZB<T> xzb, mUN mun) {
|
||
|
mun.onSchedule(null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.components.ComponentRegistrar
|
||
|
public List<Component<?>> getComponents() {
|
||
|
return Arrays.asList(Component.builder(FirebaseMessaging.class).add(Dependency.required(FirebaseApp.class)).add(Dependency.required(FirebaseInstanceId.class)).add(Dependency.required(UserAgentPublisher.class)).add(Dependency.required(HeartBeatInfo.class)).add(Dependency.optional(FsM.class)).add(Dependency.required(FirebaseInstallationsApi.class)).factory(zzn.zza).alwaysEager().build(), LibraryVersionComponent.create("fire-fcm", "20.2.0"));
|
||
|
}
|
||
|
}
|