- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
49 lines
1.4 KiB
Java
49 lines
1.4 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.VisibleForTesting;
|
|
import com.google.android.gms.appset.AppSet;
|
|
import com.google.android.gms.appset.AppSetIdClient;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.tasks.Task;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfdn {
|
|
|
|
@Nullable
|
|
@VisibleForTesting
|
|
static Task zza;
|
|
|
|
@Nullable
|
|
@VisibleForTesting
|
|
public static AppSetIdClient zzb;
|
|
private static final Object zzc = new Object();
|
|
|
|
@Nullable
|
|
public static Task zza(Context context) {
|
|
Task task;
|
|
zzb(context, false);
|
|
synchronized (zzc) {
|
|
task = zza;
|
|
}
|
|
return task;
|
|
}
|
|
|
|
public static void zzb(Context context, boolean z) {
|
|
synchronized (zzc) {
|
|
try {
|
|
if (zzb == null) {
|
|
zzb = AppSet.getClient(context);
|
|
}
|
|
Task task = zza;
|
|
if (task == null || ((task.isComplete() && !zza.isSuccessful()) || (z && zza.isComplete()))) {
|
|
zza = ((AppSetIdClient) Preconditions.checkNotNull(zzb, "the appSetIdClient shouldn't be null")).getAppSetIdInfo();
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
}
|