41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
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 zzbk implements ServiceConnection {
|
|
private final String a;
|
|
final /* synthetic */ zzbj b;
|
|
|
|
zzbk(zzbj zzbjVar, String str) {
|
|
this.b = zzbjVar;
|
|
this.a = str;
|
|
}
|
|
|
|
@Override // android.content.ServiceConnection
|
|
public final void onServiceConnected(ComponentName componentName, IBinder iBinder) {
|
|
if (iBinder == null) {
|
|
this.b.a.e().w().a("Install Referrer connection returned with null binder");
|
|
return;
|
|
}
|
|
try {
|
|
com.google.android.gms.internal.measurement.zzu a = com.google.android.gms.internal.measurement.zzv.a(iBinder);
|
|
if (a == null) {
|
|
this.b.a.e().w().a("Install Referrer Service implementation was not found");
|
|
} else {
|
|
this.b.a.e().z().a("Install Referrer Service connected");
|
|
this.b.a.a().a(new zzbl(this, a, this));
|
|
}
|
|
} catch (Exception e) {
|
|
this.b.a.e().w().a("Exception occurred while calling Install Referrer API", e);
|
|
}
|
|
}
|
|
|
|
@Override // android.content.ServiceConnection
|
|
public final void onServiceDisconnected(ComponentName componentName) {
|
|
this.b.a.e().z().a("Install Referrer Service disconnected");
|
|
}
|
|
}
|