Remove cache module exception

This commit is contained in:
topjohnwu
2017-10-01 01:38:25 +08:00
parent f6bcc84251
commit ab7fd9799d
5 changed files with 21 additions and 37 deletions

View File

@@ -25,10 +25,8 @@ public class LoadModules extends ParallelTask<Void, Void, Void> {
for (String path : Utils.getModList(getShell(), MagiskManager.MAGISK_PATH)) {
Logger.dev("LoadModules: Adding modules from " + path);
try {
Module module = new Module(getShell(), path);
mm.moduleMap.put(module.getId(), module);
} catch (BaseModule.CacheModException ignored) {}
Module module = new Module(getShell(), path);
mm.moduleMap.put(module.getId(), module);
}
Logger.dev("LoadModules: Data load done");