Skip to content

Commit

Permalink
修复dump失败后仍提示成功
Browse files Browse the repository at this point in the history
  • Loading branch information
nnjun committed May 26, 2021
1 parent f4fec1d commit 59fc59e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ private void handleDumpDex(String packageName, DumpResult result, ClassLoader cl
VMCore.dumpDex(classLoader, packageName);
} finally {
mAppConfig = null;
File dir = new File(result.dir);
if (!dir.exists() || dir.listFiles().length == 0) {
result.dumpError("not file");
}
BlackBoxCore.getBDumpManager().noticeMonitor(result);
BlackBoxCore.get().uninstallPackage(packageName);
}
Expand Down

0 comments on commit 59fc59e

Please sign in to comment.