what-the-bank/sources/com/google/android/gms/internal/measurement/zzhv.java

57 lines
1.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.measurement;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.StrictMode;
import java.util.Iterator;
import java.util.Map;
import o.nyh;
/* loaded from: classes.dex */
public final class zzhv implements zzhe {
private static final Map<String, zzhv> zza = new nyh();
private final SharedPreferences zzb;
private final SharedPreferences.OnSharedPreferenceChangeListener zzc;
/* JADX INFO: Access modifiers changed from: package-private */
public static zzhv zza(Context context, String str) {
zzhv zzhvVar;
if (!zzgw.zza()) {
synchronized (zzhv.class) {
zzhvVar = zza.get(null);
if (zzhvVar == null) {
StrictMode.ThreadPolicy allowThreadDiskReads = StrictMode.allowThreadDiskReads();
try {
throw null;
} catch (Throwable th) {
StrictMode.setThreadPolicy(allowThreadDiskReads);
throw th;
}
}
}
return zzhvVar;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void zzc() {
synchronized (zzhv.class) {
Map<String, zzhv> map = zza;
Iterator<zzhv> it = map.values().iterator();
if (it.hasNext()) {
zzhv next = it.next();
SharedPreferences sharedPreferences = next.zzb;
SharedPreferences.OnSharedPreferenceChangeListener onSharedPreferenceChangeListener = next.zzc;
throw null;
}
map.clear();
}
}
@Override // com.google.android.gms.internal.measurement.zzhe
public final Object zzb(String str) {
throw null;
}
}