[core] Replace remaining xposedmodule references (#559)
This commit is contained in:
parent
95f0305b12
commit
14b1fc555b
|
|
@ -169,7 +169,7 @@ public final class XSharedPreferences implements SharedPreferences {
|
||||||
boolean xposedsharedprefs = false;
|
boolean xposedsharedprefs = false;
|
||||||
try {
|
try {
|
||||||
Map<String, Object> metaData = MetaDataReader.getMetaData(new File(m));
|
Map<String, Object> metaData = MetaDataReader.getMetaData(new File(m));
|
||||||
isModule = metaData.containsKey("xposedmodule");
|
isModule = metaData.containsKey("xposedminversion");
|
||||||
if (isModule) {
|
if (isModule) {
|
||||||
Object minVersionRaw = metaData.get("xposedminversion");
|
Object minVersionRaw = metaData.get("xposedminversion");
|
||||||
if (minVersionRaw instanceof Integer) {
|
if (minVersionRaw instanceof Integer) {
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ public class LSPosedService extends ILSPosedService.Stub {
|
||||||
applicationInfo != null &&
|
applicationInfo != null &&
|
||||||
applicationInfo.enabled &&
|
applicationInfo.enabled &&
|
||||||
applicationInfo.metaData != null &&
|
applicationInfo.metaData != null &&
|
||||||
applicationInfo.metaData.containsKey("xposedmodule");
|
applicationInfo.metaData.containsKey("xposedminversion");
|
||||||
|
|
||||||
if (isXposedModule) {
|
if (isXposedModule) {
|
||||||
ConfigManager.getInstance().updateModuleApkPath(packageName, applicationInfo.sourceDir);
|
ConfigManager.getInstance().updateModuleApkPath(packageName, applicationInfo.sourceDir);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue