- 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
96 lines
2.7 KiB
Java
96 lines
2.7 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.app.Activity;
|
|
import android.app.Application;
|
|
import android.content.Context;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzaze {
|
|
private final Object zza = new Object();
|
|
private zzazc zzb = null;
|
|
private boolean zzc = false;
|
|
|
|
@Nullable
|
|
public final Activity zza() {
|
|
synchronized (this.zza) {
|
|
try {
|
|
zzazc zzazcVar = this.zzb;
|
|
if (zzazcVar == null) {
|
|
return null;
|
|
}
|
|
return zzazcVar.zza();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Nullable
|
|
public final Context zzb() {
|
|
synchronized (this.zza) {
|
|
try {
|
|
zzazc zzazcVar = this.zzb;
|
|
if (zzazcVar == null) {
|
|
return null;
|
|
}
|
|
return zzazcVar.zzb();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void zzc(zzazd zzazdVar) {
|
|
synchronized (this.zza) {
|
|
try {
|
|
if (this.zzb == null) {
|
|
this.zzb = new zzazc();
|
|
}
|
|
this.zzb.zzf(zzazdVar);
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void zzd(Context context) {
|
|
synchronized (this.zza) {
|
|
try {
|
|
if (!this.zzc) {
|
|
Context applicationContext = context.getApplicationContext();
|
|
if (applicationContext == null) {
|
|
applicationContext = context;
|
|
}
|
|
Application application = applicationContext instanceof Application ? (Application) applicationContext : null;
|
|
if (application == null) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzj("Can not cast Context to Application");
|
|
return;
|
|
}
|
|
if (this.zzb == null) {
|
|
this.zzb = new zzazc();
|
|
}
|
|
this.zzb.zzg(application, context);
|
|
this.zzc = true;
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void zze(zzazd zzazdVar) {
|
|
synchronized (this.zza) {
|
|
try {
|
|
zzazc zzazcVar = this.zzb;
|
|
if (zzazcVar == null) {
|
|
return;
|
|
}
|
|
zzazcVar.zzh(zzazdVar);
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
}
|