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

31 lines
947 B
Java

package o;
import android.content.SharedPreferences;
import com.google.gson.Gson;
/* renamed from: o.juR, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C15959juR {
private final Gson c;
public final SharedPreferences e;
@InterfaceC13391fZD
public C15959juR(SharedPreferences sharedPreferences, Gson gson) {
this.e = sharedPreferences;
this.c = gson;
}
public final boolean d(C4212bTg c4212bTg) {
if (c4212bTg != null) {
return this.e.edit().putString("com.scb.phone.PREF_KEY_TILES", this.c.toJson(c4212bTg)).commit();
}
guQ.a("Tile entity object is null", new Object[0]);
return false;
}
public final C4212bTg e() {
C4212bTg c4212bTg = (C4212bTg) this.c.fromJson(this.e.getString("com.scb.phone.PREF_KEY_TILES", null), C4212bTg.class);
return c4212bTg == null ? new C4212bTg() : c4212bTg;
}
}