- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
37 lines
964 B
Java
37 lines
964 B
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.content.SharedPreferences;
|
|
import androidx.annotation.WorkerThread;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzgr {
|
|
private final String zza;
|
|
private boolean zzb;
|
|
private String zzc;
|
|
private final /* synthetic */ zzgl zzd;
|
|
|
|
@WorkerThread
|
|
public final String zza() {
|
|
if (!this.zzb) {
|
|
this.zzb = true;
|
|
this.zzc = this.zzd.zzg().getString(this.zza, null);
|
|
}
|
|
return this.zzc;
|
|
}
|
|
|
|
public zzgr(zzgl zzglVar, String str, String str2) {
|
|
this.zzd = zzglVar;
|
|
Preconditions.checkNotEmpty(str);
|
|
this.zza = str;
|
|
}
|
|
|
|
@WorkerThread
|
|
public final void zza(String str) {
|
|
SharedPreferences.Editor edit = this.zzd.zzg().edit();
|
|
edit.putString(this.zza, str);
|
|
edit.apply();
|
|
this.zzc = str;
|
|
}
|
|
}
|