what-the-bank/sources/com/google/android/gms/measurement/internal/zzew.java

36 lines
895 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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 zzew {
final zzfa zza;
private final String zzb;
private final long zzc;
private boolean zzd;
private long zze;
public zzew(zzfa zzfaVar, String str, long j) {
this.zza = zzfaVar;
Preconditions.checkNotEmpty(str);
this.zzb = str;
this.zzc = j;
}
public final long zza() {
if (!this.zzd) {
this.zzd = true;
this.zze = this.zza.zza().getLong(this.zzb, this.zzc);
}
return this.zze;
}
public final void zzb(long j) {
SharedPreferences.Editor edit = this.zza.zza().edit();
edit.putLong(this.zzb, j);
edit.apply();
this.zze = j;
}
}