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

37 lines
1.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.content.SharedPreferences;
/* loaded from: classes3.dex */
public class WSZ {
private static SharedPreferences c;
public static long c(String str, Context context) {
return Oh_(context).getLong(str, 0L);
}
private static SharedPreferences Oh_(Context context) {
SharedPreferences sharedPreferences;
synchronized (WSZ.class) {
if (c == null) {
c = context.createDeviceProtectedStorageContext().getSharedPreferences("aegis", 0);
}
sharedPreferences = c;
}
return sharedPreferences;
}
public static String a(String str, String str2, Context context) {
return Oh_(context).getString(str, str2);
}
public static void b(String str, long j, Context context) {
Oh_(context).edit().putLong(str, j).apply();
}
public static void c(String str, String str2, Context context) {
Oh_(context).edit().putString(str, str2).apply();
}
}