what-the-bank/sources/com/google/firebase/iid/zzbc.java

36 lines
1.1 KiB
Java

package com.google.firebase.iid;
import android.os.Binder;
import android.os.Process;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
/* loaded from: classes2.dex */
public final class zzbc extends Binder {
private final zzbe zza;
public zzbc(zzbe zzbeVar) {
this.zza = zzbeVar;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void zza(final zzbg zzbgVar) {
if (Binder.getCallingUid() != Process.myUid()) {
throw new SecurityException("Binding only allowed within app");
}
this.zza.zza(zzbgVar.zza).addOnCompleteListener(zzh.zza(), new OnCompleteListener(zzbgVar) { // from class: com.google.firebase.iid.zzbf
private final zzbg zza;
@Override // com.google.android.gms.tasks.OnCompleteListener
public final void onComplete(Task task) {
this.zza.zzb();
}
/* JADX INFO: Access modifiers changed from: package-private */
{
this.zza = zzbgVar;
}
});
}
}