package com.google.android.gms.common.internal; import android.app.PendingIntent; import android.os.Bundle; import com.google.android.gms.common.ConnectionResult; /* loaded from: classes.dex */ abstract class zza extends zzc { public final int zza; public final Bundle zzb; final BaseGmsClient zzc; /* JADX INFO: Access modifiers changed from: protected */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public zza(BaseGmsClient baseGmsClient, int i, Bundle bundle) { super(baseGmsClient, true); this.zzc = baseGmsClient; this.zza = i; this.zzb = bundle; } protected abstract void zzb(ConnectionResult connectionResult); /* JADX INFO: Access modifiers changed from: protected */ @Override // com.google.android.gms.common.internal.zzc public final void zzc() { } protected abstract boolean zzd(); @Override // com.google.android.gms.common.internal.zzc protected final /* synthetic */ void zza(Object obj) { if (this.zza != 0) { BaseGmsClient.zzi(this.zzc, 1, null); Bundle bundle = this.zzb; zzb(new ConnectionResult(this.zza, bundle != null ? (PendingIntent) bundle.getParcelable(BaseGmsClient.KEY_PENDING_INTENT) : null)); } else { if (zzd()) { return; } BaseGmsClient.zzi(this.zzc, 1, null); zzb(new ConnectionResult(8, null)); } } }