Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzaze.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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;
}
}
}
}