package o; import android.content.SharedPreferences; import com.google.gson.Gson; /* loaded from: classes.dex */ public final class gNU { public final Gson c; public final SharedPreferences d; @InterfaceC13391fZD public gNU(SharedPreferences sharedPreferences, Gson gson) { this.d = sharedPreferences; this.c = gson; } public final boolean d(KEo kEo) { if (kEo == null) { return this.d.edit().remove("com.scb.phone.PREF_KEY_NEW_CUSTOMER_USER_INFO").commit(); } return this.d.edit().putString("com.scb.phone.PREF_KEY_NEW_CUSTOMER_USER_INFO", this.c.toJson(kEo)).commit(); } }