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

52 lines
1.5 KiB
Java

package com.google.android.gms.internal.ads;
import android.content.Context;
import android.content.SharedPreferences;
/* loaded from: classes3.dex */
public final class zzbbv {
public static int zza(Context context) {
return zzf(context, "crash_without_write");
}
public static int zzb(Context context) {
return zzf(context, "init_without_write");
}
public static void zzc(Context context) {
zzg(context, "crash_without_write");
}
public static void zzd(Context context) {
zzg(context, "init_without_write");
}
public static void zze(Context context) {
SharedPreferences sharedPreferences = context.getSharedPreferences("admob", 0);
if (sharedPreferences == null) {
return;
}
sharedPreferences.edit().putInt("init_without_write", 0).putInt("crash_without_write", 0).commit();
}
private static int zzf(Context context, String str) {
SharedPreferences sharedPreferences = context.getSharedPreferences("admob", 0);
if (sharedPreferences == null) {
return 0;
}
try {
return sharedPreferences.getInt(str, 0);
} catch (ClassCastException unused) {
return 0;
}
}
private static void zzg(Context context, String str) {
SharedPreferences sharedPreferences = context.getSharedPreferences("admob", 0);
if (sharedPreferences == null) {
return;
}
sharedPreferences.edit().putInt(str, zzf(context, str) + 1).commit();
}
}