Skip to content

Commit 87a3dd4

Browse files
committed
1. [hotfix] fix dex check error
1 parent e4b56a3 commit 87a3dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinker-android/tinker-android-lib/src/main/java/com/tencent/tinker/lib/patch/DexDiffPatchInternal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private static boolean extractDexDiffInternals(Context context, String dir, Stri
182182
String dexDiffMd5 = info.dexDiffMd5;
183183
String oldDexCrc = info.oldDexCrC;
184184

185-
if (dexDiffMd5.equals("0") && !ShareTinkerInternals.isVmArt()) {
185+
if (!ShareTinkerInternals.isVmArt() && info.destMd5InDvm.equals("0")) {
186186
TinkerLog.w(TAG, "patch dex %s is only for art, just continue", patchRealPath);
187187
continue;
188188
}

0 commit comments

Comments
 (0)