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

60 lines
2.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.measurement.internal;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import java.util.concurrent.atomic.AtomicReference;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class zzit implements Runnable {
final AtomicReference zza;
final zzp zzb;
final zzjo zzc;
@Override // java.lang.Runnable
public final void run() {
AtomicReference atomicReference;
zzeb zzebVar;
synchronized (this.zza) {
try {
try {
} catch (RemoteException e) {
this.zzc.zzs.zzay().zzd().zzb("Failed to get app instance id", e);
atomicReference = this.zza;
}
if (!this.zzc.zzs.zzm().zzc().zzk()) {
this.zzc.zzs.zzay().zzl().zza("Analytics storage consent denied; will not get app instance id");
this.zzc.zzs.zzq().zzO(null);
this.zzc.zzs.zzm().zze.zzb(null);
this.zza.set(null);
return;
}
zzebVar = this.zzc.zzb;
if (zzebVar == null) {
this.zzc.zzs.zzay().zzd().zza("Failed to get app instance id");
return;
}
Preconditions.checkNotNull(this.zzb);
this.zza.set(zzebVar.zzd(this.zzb));
String str = (String) this.zza.get();
if (str != null) {
this.zzc.zzs.zzq().zzO(str);
this.zzc.zzs.zzm().zze.zzb(str);
}
this.zzc.zzQ();
atomicReference = this.zza;
atomicReference.notify();
} finally {
this.zza.notify();
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzit(zzjo zzjoVar, AtomicReference atomicReference, zzp zzpVar) {
this.zzc = zzjoVar;
this.zza = atomicReference;
this.zzb = zzpVar;
}
}