package com.google.android.gms.measurement.internal; import android.os.Bundle; import android.os.RemoteException; import com.google.android.gms.common.internal.Preconditions; import java.util.ArrayList; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zzjg implements Runnable { final String zza; final String zzb; final zzp zzc; final com.google.android.gms.internal.measurement.zzcf zzd; final zzjo zze; @Override // java.lang.Runnable public final void run() { zzfv zzfvVar; zzeb zzebVar; ArrayList arrayList = new ArrayList<>(); try { try { zzebVar = this.zze.zzb; if (zzebVar == null) { this.zze.zzs.zzay().zzd().zzc("Failed to get conditional properties; not connected to service", this.zza, this.zzb); zzfvVar = this.zze.zzs; } else { Preconditions.checkNotNull(this.zzc); arrayList = zzkz.zzG(zzebVar.zzf(this.zza, this.zzb, this.zzc)); this.zze.zzQ(); zzfvVar = this.zze.zzs; } } catch (RemoteException e) { this.zze.zzs.zzay().zzd().zzd("Failed to get conditional properties; remote exception", this.zza, this.zzb, e); zzfvVar = this.zze.zzs; } zzfvVar.zzv().zzP(this.zzd, arrayList); } catch (Throwable th) { this.zze.zzs.zzv().zzP(this.zzd, arrayList); throw th; } } /* JADX INFO: Access modifiers changed from: package-private */ public zzjg(zzjo zzjoVar, String str, String str2, zzp zzpVar, com.google.android.gms.internal.measurement.zzcf zzcfVar) { this.zze = zzjoVar; this.zza = str; this.zzb = str2; this.zzc = zzpVar; this.zzd = zzcfVar; } }