60 lines
2.2 KiB
Java
60 lines
2.2 KiB
Java
|
package com.google.android.gms.measurement.internal;
|
||
|
|
||
|
import android.os.RemoteException;
|
||
|
import android.text.TextUtils;
|
||
|
import com.google.android.gms.common.internal.Preconditions;
|
||
|
import java.util.Collections;
|
||
|
import java.util.concurrent.atomic.AtomicReference;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzjf implements Runnable {
|
||
|
final AtomicReference zza;
|
||
|
final String zzb;
|
||
|
final String zzc;
|
||
|
final zzp zzd;
|
||
|
final zzjo zze;
|
||
|
|
||
|
@Override // java.lang.Runnable
|
||
|
public final void run() {
|
||
|
AtomicReference atomicReference;
|
||
|
zzeb zzebVar;
|
||
|
synchronized (this.zza) {
|
||
|
try {
|
||
|
try {
|
||
|
zzebVar = this.zze.zzb;
|
||
|
} catch (RemoteException e) {
|
||
|
this.zze.zzs.zzay().zzd().zzd("(legacy) Failed to get conditional properties; remote exception", null, this.zzb, e);
|
||
|
this.zza.set(Collections.emptyList());
|
||
|
atomicReference = this.zza;
|
||
|
}
|
||
|
if (zzebVar == null) {
|
||
|
this.zze.zzs.zzay().zzd().zzd("(legacy) Failed to get conditional properties; not connected to service", null, this.zzb, this.zzc);
|
||
|
this.zza.set(Collections.emptyList());
|
||
|
return;
|
||
|
}
|
||
|
if (TextUtils.isEmpty(null)) {
|
||
|
Preconditions.checkNotNull(this.zzd);
|
||
|
this.zza.set(zzebVar.zzf(this.zzb, this.zzc, this.zzd));
|
||
|
} else {
|
||
|
this.zza.set(zzebVar.zzg(null, this.zzb, this.zzc));
|
||
|
}
|
||
|
this.zze.zzQ();
|
||
|
atomicReference = this.zza;
|
||
|
atomicReference.notify();
|
||
|
} finally {
|
||
|
this.zza.notify();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzjf(zzjo zzjoVar, AtomicReference atomicReference, String str, String str2, String str3, zzp zzpVar) {
|
||
|
this.zze = zzjoVar;
|
||
|
this.zza = atomicReference;
|
||
|
this.zzb = str2;
|
||
|
this.zzc = str3;
|
||
|
this.zzd = zzpVar;
|
||
|
}
|
||
|
}
|