diff --git a/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java b/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java index 67bba57..4e3bd80 100644 --- a/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java +++ b/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java @@ -138,7 +138,7 @@ public class BActivityThread extends IBActivityThread.Stub { } } - public synchronized void handleBindApplication(String packageName, String processName) { + private synchronized void handleBindApplication(String packageName, String processName) { DumpResult result = new DumpResult(); result.packageName = packageName; result.dir = new File(BlackBoxCore.get().getDexDumpDir(), packageName).getAbsolutePath(); diff --git a/Bcore/src/main/java/top/niunaijun/blackbox/core/IOCore.java b/Bcore/src/main/java/top/niunaijun/blackbox/core/IOCore.java index d52ae30..8f4a33e 100644 --- a/Bcore/src/main/java/top/niunaijun/blackbox/core/IOCore.java +++ b/Bcore/src/main/java/top/niunaijun/blackbox/core/IOCore.java @@ -124,17 +124,4 @@ public class IOCore { } VMCore.enableIO(); } - - private void hideRoot(Map rule) { - rule.put("/system/app/Superuser.apk", "/system/app/Superuser.apk-fake"); - rule.put("/sbin/su", "/sbin/su-fake"); - rule.put("/system/bin/su", "/system/bin/su-fake"); - rule.put("/system/xbin/su", "/system/xbin/su-fake"); - rule.put("/data/local/xbin/su", "/data/local/xbin/su-fake"); - rule.put("/data/local/bin/su", "/data/local/bin/su-fake"); - rule.put("/system/sd/xbin/su", "/system/sd/xbin/su-fake"); - rule.put("/system/bin/failsafe/su", "/system/bin/failsafe/su-fake"); - rule.put("/data/local/su", "/data/local/su-fake"); - rule.put("/su/bin/su", "/su/bin/su-fake"); - } }