Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzzs.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

61 lines
1.5 KiB
Java

package com.google.android.gms.internal.ads;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.view.Surface;
/* loaded from: classes3.dex */
public final class zzzs extends Surface {
private static int zzb;
private static boolean zzc;
public final boolean zza;
private final zzzq zzd;
private boolean zze;
public /* synthetic */ zzzs(zzzq zzzqVar, SurfaceTexture surfaceTexture, boolean z, zzzr zzzrVar) {
super(surfaceTexture);
this.zzd = zzzqVar;
this.zza = z;
}
public static zzzs zza(Context context, boolean z) {
boolean z2 = true;
if (z && !zzb(context)) {
z2 = false;
}
zzcw.zzf(z2);
return new zzzq().zza(z ? zzb : 0);
}
public static synchronized boolean zzb(Context context) {
int i;
synchronized (zzzs.class) {
try {
if (!zzc) {
zzb = zzdf.zzb(context) ? zzdf.zzc() ? 1 : 2 : 0;
zzc = true;
}
i = zzb;
} catch (Throwable th) {
throw th;
}
}
return i != 0;
}
@Override // android.view.Surface
public final void release() {
super.release();
synchronized (this.zzd) {
try {
if (!this.zze) {
this.zzd.zzb();
this.zze = true;
}
} catch (Throwable th) {
throw th;
}
}
}
}