36 lines
916 B
Java
36 lines
916 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 zzeu {
|
|
final zzfa zza;
|
|
private final String zzb;
|
|
private final boolean zzc;
|
|
private boolean zzd;
|
|
private boolean zze;
|
|
|
|
public zzeu(zzfa zzfaVar, String str, boolean z) {
|
|
this.zza = zzfaVar;
|
|
Preconditions.checkNotEmpty(str);
|
|
this.zzb = str;
|
|
this.zzc = z;
|
|
}
|
|
|
|
public final void zza(boolean z) {
|
|
SharedPreferences.Editor edit = this.zza.zza().edit();
|
|
edit.putBoolean(this.zzb, z);
|
|
edit.apply();
|
|
this.zze = z;
|
|
}
|
|
|
|
public final boolean zzb() {
|
|
if (!this.zzd) {
|
|
this.zzd = true;
|
|
this.zze = this.zza.zza().getBoolean(this.zzb, this.zzc);
|
|
}
|
|
return this.zze;
|
|
}
|
|
}
|