Android 跨进程SharedPreferences异常详解
Context c = null;
try {
c = context.createPackageContext(PREFERENCE_PACKAGE,
Context.CONTEXT_IGNORE_SECURITY);
} catch (NameNotFoundException e) {
e.printStackTrace();
}
if (c != null) {
SharedPreferences infoSp = c.getSha
2022-10-10 09:15:34
29KB
ar
c
ce
1