Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzdvc.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

49 lines
1.6 KiB
Java

package com.google.android.gms.internal.ads;
import android.content.SharedPreferences;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import java.util.Iterator;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes3.dex */
public final class zzdvc implements SharedPreferences.OnSharedPreferenceChangeListener {
private final JSONObject zza = new JSONObject();
private List zzb;
@VisibleForTesting
public zzdvc() {
}
@Override // android.content.SharedPreferences.OnSharedPreferenceChangeListener
public final void onSharedPreferenceChanged(SharedPreferences sharedPreferences, @Nullable String str) {
if (str != null && this.zzb.contains(str)) {
try {
Object obj = sharedPreferences.getAll().get(str);
if (obj == null) {
this.zza.remove(str);
} else {
this.zza.put(str, obj);
}
} catch (JSONException e) {
com.google.android.gms.ads.internal.zzv.zzp().zzv(e, "InspectorSharedPreferenceCollector.onSharedPreferenceChanged");
}
}
}
public final JSONObject zza() throws JSONException {
return this.zza;
}
public final void zzb(SharedPreferences sharedPreferences, List list) {
this.zzb = list;
sharedPreferences.registerOnSharedPreferenceChangeListener(this);
Iterator it = list.iterator();
while (it.hasNext()) {
onSharedPreferenceChanged(sharedPreferences, (String) it.next());
}
}
}