package com.google.android.gms.common.internal; import android.os.Bundle; import android.os.IBinder; import android.util.Log; import androidx.annotation.BinderThread; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; @VisibleForTesting /* loaded from: classes2.dex */ public final class zzd extends zzac { @Nullable private BaseGmsClient zza; private final int zzb; public zzd(@NonNull BaseGmsClient baseGmsClient, int i) { this.zza = baseGmsClient; this.zzb = i; } @Override // com.google.android.gms.common.internal.IGmsCallbacks @BinderThread public final void onPostInitComplete(int i, @NonNull IBinder iBinder, @Nullable Bundle bundle) { Preconditions.checkNotNull(this.zza, "onPostInitComplete can be called only once per call to getRemoteService"); this.zza.onPostInitHandler(i, iBinder, bundle, this.zzb); this.zza = null; } @Override // com.google.android.gms.common.internal.IGmsCallbacks @BinderThread public final void zzb(int i, @Nullable Bundle bundle) { Log.wtf("GmsClient", "received deprecated onAccountValidationComplete callback, ignoring", new Exception()); } @Override // com.google.android.gms.common.internal.IGmsCallbacks @BinderThread public final void zzc(int i, @NonNull IBinder iBinder, @NonNull zzk zzkVar) { BaseGmsClient baseGmsClient = this.zza; Preconditions.checkNotNull(baseGmsClient, "onPostInitCompleteWithConnectionInfo can be called only once per call togetRemoteService"); Preconditions.checkNotNull(zzkVar); BaseGmsClient.zzj(baseGmsClient, zzkVar); onPostInitComplete(i, iBinder, zzkVar.zza); } }