what-the-bank/sources/com/google/android/gms/measurement/internal/zzjh.java

62 lines
2.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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: classes.dex */
public final class zzjh implements Runnable {
final AtomicReference zza;
final String zzb;
final String zzc;
final zzp zzd;
final boolean zze;
final zzjo zzf;
@Override // java.lang.Runnable
public final void run() {
AtomicReference atomicReference;
zzeb zzebVar;
synchronized (this.zza) {
try {
try {
zzebVar = this.zzf.zzb;
} catch (RemoteException e) {
this.zzf.zzs.zzay().zzd().zzd("(legacy) Failed to get user properties; remote exception", null, this.zzb, e);
this.zza.set(Collections.emptyList());
atomicReference = this.zza;
}
if (zzebVar == null) {
this.zzf.zzs.zzay().zzd().zzd("(legacy) Failed to get user 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.zzh(this.zzb, this.zzc, this.zze, this.zzd));
} else {
this.zza.set(zzebVar.zzi(null, this.zzb, this.zzc, this.zze));
}
this.zzf.zzQ();
atomicReference = this.zza;
atomicReference.notify();
} finally {
this.zza.notify();
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzjh(zzjo zzjoVar, AtomicReference atomicReference, String str, String str2, String str3, zzp zzpVar, boolean z) {
this.zzf = zzjoVar;
this.zza = atomicReference;
this.zzb = str2;
this.zzc = str3;
this.zzd = zzpVar;
this.zze = z;
}
}