34 lines
862 B
Java
34 lines
862 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 zzez {
|
|
final zzfa zza;
|
|
private final String zzb;
|
|
private boolean zzc;
|
|
private String zzd;
|
|
|
|
public zzez(zzfa zzfaVar, String str, String str2) {
|
|
this.zza = zzfaVar;
|
|
Preconditions.checkNotEmpty(str);
|
|
this.zzb = str;
|
|
}
|
|
|
|
public final String zza() {
|
|
if (!this.zzc) {
|
|
this.zzc = true;
|
|
this.zzd = this.zza.zza().getString(this.zzb, null);
|
|
}
|
|
return this.zzd;
|
|
}
|
|
|
|
public final void zzb(String str) {
|
|
SharedPreferences.Editor edit = this.zza.zza().edit();
|
|
edit.putString(this.zzb, str);
|
|
edit.apply();
|
|
this.zzd = str;
|
|
}
|
|
}
|