From 517ab3ecbaf820eabd6a325ab0e9093ff69b6d99 Mon Sep 17 00:00:00 2001 From: Milk <1871357815@qq.com> Date: Wed, 26 May 2021 13:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/top/niunaijun/blackbox/app/BActivityThread.java | 2 +- .../main/java/top/niunaijun/blackdex/view/main/MainActivity.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 41dd6ea..67bba57 100644 --- a/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java +++ b/Bcore/src/main/java/top/niunaijun/blackbox/app/BActivityThread.java @@ -218,7 +218,7 @@ public class BActivityThread extends IBActivityThread.Stub { mAppConfig = null; File dir = new File(result.dir); if (!dir.exists() || dir.listFiles().length == 0) { - result.dumpError("not file"); + result.dumpError("not found dex file"); } BlackBoxCore.getBDumpManager().noticeMonitor(result); BlackBoxCore.get().uninstallPackage(packageName); diff --git a/app/src/main/java/top/niunaijun/blackdex/view/main/MainActivity.kt b/app/src/main/java/top/niunaijun/blackdex/view/main/MainActivity.kt index c7752d9..1ac1c58 100644 --- a/app/src/main/java/top/niunaijun/blackdex/view/main/MainActivity.kt +++ b/app/src/main/java/top/niunaijun/blackdex/view/main/MainActivity.kt @@ -149,11 +149,10 @@ class MainActivity : BaseActivity() { ) ) } else { - viewModel.mDexDumpLiveData.postValue( DumpInfo( DumpInfo.FAIL, - "错误原因:${result.msg}" + "错误原因: ${result.msg}" ) ) }