40 lines
1.0 KiB
Java
40 lines
1.0 KiB
Java
package c.i.a.f.i.b;
|
|
|
|
import android.content.SharedPreferences;
|
|
import androidx.annotation.WorkerThread;
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
|
|
public final class f4 {
|
|
public final String a;
|
|
public final boolean b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public boolean f1152c;
|
|
public boolean d;
|
|
public final /* synthetic */ d4 e;
|
|
|
|
public f4(d4 d4Var, String str, boolean z2) {
|
|
this.e = d4Var;
|
|
AnimatableValueParser.w(str);
|
|
this.a = str;
|
|
this.b = z2;
|
|
}
|
|
|
|
@WorkerThread
|
|
public final void a(boolean z2) {
|
|
SharedPreferences.Editor edit = this.e.w().edit();
|
|
edit.putBoolean(this.a, z2);
|
|
edit.apply();
|
|
this.d = z2;
|
|
}
|
|
|
|
@WorkerThread
|
|
public final boolean b() {
|
|
if (!this.f1152c) {
|
|
this.f1152c = true;
|
|
this.d = this.e.w().getBoolean(this.a, this.b);
|
|
}
|
|
return this.d;
|
|
}
|
|
}
|