67 lines
1.6 KiB
Java
67 lines
1.6 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import com.google.gson.Gson;
|
|
import com.google.gson.reflect.TypeToken;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
@fZH
|
|
/* loaded from: classes.dex */
|
|
public final class FmD {
|
|
public SharedPreferences a;
|
|
public boolean d;
|
|
public Uyi e;
|
|
|
|
@InterfaceC13391fZD
|
|
public FmD(SharedPreferences sharedPreferences) {
|
|
C14957gcv.e(sharedPreferences, "");
|
|
this.a = sharedPreferences;
|
|
this.e = null;
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
public static final class HBt extends TypeToken<Map<String, ? extends String>> {
|
|
HBt() {
|
|
}
|
|
}
|
|
|
|
public final Map<String, String> e() {
|
|
try {
|
|
Object fromJson = new Gson().fromJson(this.a.getString("JUST_FOR_YOU_SHOWED_INSIGHT_LIST_KEY", null), new HBt().getType());
|
|
C14957gcv.c(fromJson, "");
|
|
return (Map) fromJson;
|
|
} catch (Exception unused) {
|
|
C14854gaM c14854gaM = C14854gaM.c;
|
|
C14957gcv.d(c14854gaM, "");
|
|
return c14854gaM;
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final void c(Uyi uyi) {
|
|
Uyi uyi2;
|
|
if (uyi != null) {
|
|
List<hgM> list = uyi.b;
|
|
C14957gcv.e(list, "");
|
|
uyi2 = new Uyi(true, list);
|
|
} else {
|
|
uyi2 = null;
|
|
}
|
|
this.e = uyi2;
|
|
}
|
|
|
|
static {
|
|
new RVV((byte) 0);
|
|
}
|
|
}
|