remove useless code

pull/10/head^2
Milk 4 years ago
parent 0fdd3b6fbd
commit ef04d51d7c
  1. 2
      Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java
  2. 13
      Bcore/src/main/java/top/niunaijun/blackbox/core/IOCore.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(); DumpResult result = new DumpResult();
result.packageName = packageName; result.packageName = packageName;
result.dir = new File(BlackBoxCore.get().getDexDumpDir(), packageName).getAbsolutePath(); result.dir = new File(BlackBoxCore.get().getDexDumpDir(), packageName).getAbsolutePath();

@ -124,17 +124,4 @@ public class IOCore {
} }
VMCore.enableIO(); VMCore.enableIO();
} }
private void hideRoot(Map<String, String> 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");
}
} }

Loading…
Cancel
Save