This reverts commit 6e036f49da.
This commit is contained in:
parent
eab814a5d5
commit
4d6c3821f3
|
|
@ -40,7 +40,7 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.zip.ZipFile;
|
||||
|
||||
public class ConfigFileManager {
|
||||
class ConfigFileManager {
|
||||
static final Path basePath = Paths.get("/data/adb/lspd");
|
||||
static final File managerApkPath = basePath.resolve("manager.apk").toFile();
|
||||
private static final Path lockPath = basePath.resolve("lock");
|
||||
|
|
@ -64,9 +64,6 @@ public class ConfigFileManager {
|
|||
}
|
||||
}
|
||||
|
||||
private ConfigFileManager() {
|
||||
}
|
||||
|
||||
static void deleteFolderIfExists(Path target) throws IOException {
|
||||
if (Files.notExists(target)) return;
|
||||
Files.walkFileTree(target, new SimpleFileVisitor<>() {
|
||||
|
|
@ -172,7 +169,7 @@ public class ConfigFileManager {
|
|||
}
|
||||
|
||||
@Nullable
|
||||
public static PreLoadedApk loadModule(String path) {
|
||||
static PreLoadedApk loadModule(String path) {
|
||||
if (path == null) return null;
|
||||
var file = new PreLoadedApk();
|
||||
var preLoadedDexes = new ArrayList<SharedMemory>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue