package com.google.android.gms.measurement.internal; import android.os.RemoteException; import android.text.TextUtils; import java.util.Collections; import java.util.concurrent.atomic.AtomicReference; /* loaded from: classes.dex */ final class zzeo implements Runnable { private final /* synthetic */ AtomicReference a; private final /* synthetic */ String b; private final /* synthetic */ String c; private final /* synthetic */ String d; private final /* synthetic */ zzk e; private final /* synthetic */ zzeb f; zzeo(zzeb zzebVar, AtomicReference atomicReference, String str, String str2, String str3, zzk zzkVar) { this.f = zzebVar; this.a = atomicReference; this.b = str; this.c = str2; this.d = str3; this.e = zzkVar; } @Override // java.lang.Runnable public final void run() { zzaj zzajVar; synchronized (this.a) { try { try { zzajVar = this.f.d; } catch (RemoteException e) { this.f.e().t().a("Failed to get conditional properties", zzas.a(this.b), this.c, e); this.a.set(Collections.emptyList()); } if (zzajVar == null) { this.f.e().t().a("Failed to get conditional properties", zzas.a(this.b), this.c, this.d); this.a.set(Collections.emptyList()); return; } if (TextUtils.isEmpty(this.b)) { this.a.set(zzajVar.a(this.c, this.d, this.e)); } else { this.a.set(zzajVar.a(this.b, this.c, this.d)); } this.f.H(); this.a.notify(); } finally { this.a.notify(); } } } }