what-the-bank/sources/com/google/android/gms/measurement/internal/zzfc.java

44 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.measurement.internal;
import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.IBinder;
/* loaded from: classes.dex */
public final class zzfc implements ServiceConnection {
final zzfd zza;
private final String zzb;
@Override // android.content.ServiceConnection
public final void onServiceConnected(ComponentName componentName, IBinder iBinder) {
if (iBinder != null) {
try {
com.google.android.gms.internal.measurement.zzbr zzb = com.google.android.gms.internal.measurement.zzbq.zzb(iBinder);
if (zzb == null) {
this.zza.zza.zzay().zzk().zza("Install Referrer Service implementation was not found");
return;
} else {
this.zza.zza.zzay().zzj().zza("Install Referrer Service connected");
this.zza.zza.zzaz().zzp(new zzfb(this, zzb, this));
return;
}
} catch (RuntimeException e) {
this.zza.zza.zzay().zzk().zzb("Exception occurred while calling Install Referrer API", e);
return;
}
}
this.zza.zza.zzay().zzk().zza("Install Referrer connection returned with null binder");
}
@Override // android.content.ServiceConnection
public final void onServiceDisconnected(ComponentName componentName) {
this.zza.zza.zzay().zzj().zza("Install Referrer Service disconnected");
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzfc(zzfd zzfdVar, String str) {
this.zza = zzfdVar;
this.zzb = str;
}
}