- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
26 lines
797 B
Java
26 lines
797 B
Java
package com.amazon.device.iap.internal.util;
|
|
|
|
import android.content.Context;
|
|
import android.content.SharedPreferences;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class b {
|
|
private static final String a = b.class.getName() + "_PREFS";
|
|
|
|
public static String a(String str) {
|
|
d.a((Object) str, "userId");
|
|
Context b = com.amazon.device.iap.internal.d.d().b();
|
|
d.a(b, "context");
|
|
return b.getSharedPreferences(a, 0).getString(str, null);
|
|
}
|
|
|
|
public static void a(String str, String str2) {
|
|
d.a((Object) str, "userId");
|
|
Context b = com.amazon.device.iap.internal.d.d().b();
|
|
d.a(b, "context");
|
|
SharedPreferences.Editor edit = b.getSharedPreferences(a, 0).edit();
|
|
edit.putString(str, str2);
|
|
edit.commit();
|
|
}
|
|
}
|