package com.google.android.gms.measurement.internal; import android.os.RemoteException; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zziz implements Runnable { final zzat zza; final String zzb; final com.google.android.gms.internal.measurement.zzcf zzc; final zzjo zzd; @Override // java.lang.Runnable public final void run() { zzfv zzfvVar; zzeb zzebVar; byte[] bArr = null; try { try { zzebVar = this.zzd.zzb; if (zzebVar == null) { this.zzd.zzs.zzay().zzd().zza("Discarding data. Failed to send event to service to bundle"); zzfvVar = this.zzd.zzs; } else { bArr = zzebVar.zzu(this.zza, this.zzb); this.zzd.zzQ(); zzfvVar = this.zzd.zzs; } } catch (RemoteException e) { this.zzd.zzs.zzay().zzd().zzb("Failed to send event to the service to bundle", e); zzfvVar = this.zzd.zzs; } zzfvVar.zzv().zzR(this.zzc, bArr); } catch (Throwable th) { this.zzd.zzs.zzv().zzR(this.zzc, bArr); throw th; } } /* JADX INFO: Access modifiers changed from: package-private */ public zziz(zzjo zzjoVar, zzat zzatVar, String str, com.google.android.gms.internal.measurement.zzcf zzcfVar) { this.zzd = zzjoVar; this.zza = zzatVar; this.zzb = str; this.zzc = zzcfVar; } }