what-the-bank/sources/o/C17519xTA.java

54 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import com.google.gson.Gson;
/* renamed from: o.xTA, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C17519xTA {
public boolean a;
private Gson b;
public final SharedPreferences c;
public boolean e;
@InterfaceC13391fZD
public C17519xTA(SharedPreferences sharedPreferences, Gson gson) {
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(gson, "");
this.c = sharedPreferences;
this.b = gson;
this.e = true;
}
public final C8064dAG a() {
String string = this.c.getString("com.scb.phone.PREK_KEY_APP_CONFIG", null);
if (string != null) {
return (C8064dAG) this.b.fromJson(string, C8064dAG.class);
}
return null;
}
/* renamed from: o.xTA$RVV */
/* loaded from: classes.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
public final boolean e(C8064dAG c8064dAG) {
C14957gcv.e(c8064dAG, "");
if (c8064dAG.q == null) {
return false;
}
return this.c.edit().putString("com.scb.phone.PREK_KEY_APP_CONFIG", this.b.toJson(c8064dAG)).commit();
}
static {
new RVV((byte) 0);
}
}