jimu-decompiled/sources/com/google/android/gms/measurement/internal/zzbf.java
2025-05-13 19:24:51 +02:00

40 lines
979 B
Java

package com.google.android.gms.measurement.internal;
import android.content.SharedPreferences;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes.dex */
public final class zzbf {
private final String a;
private final boolean b;
private boolean c;
private boolean d;
private final /* synthetic */ zzbd e;
public zzbf(zzbd zzbdVar, String str, boolean z) {
this.e = zzbdVar;
Preconditions.b(str);
this.a = str;
this.b = true;
}
public final boolean a() {
SharedPreferences B;
if (!this.c) {
this.c = true;
B = this.e.B();
this.d = B.getBoolean(this.a, this.b);
}
return this.d;
}
public final void a(boolean z) {
SharedPreferences B;
B = this.e.B();
SharedPreferences.Editor edit = B.edit();
edit.putBoolean(this.a, z);
edit.apply();
this.d = z;
}
}