Skip to content

Commit

Permalink
1. [hotfix] fix dex check error
Browse files Browse the repository at this point in the history
  • Loading branch information
shwenzhang committed Nov 1, 2016
1 parent e4b56a3 commit 87a3dd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private static boolean extractDexDiffInternals(Context context, String dir, Stri
String dexDiffMd5 = info.dexDiffMd5;
String oldDexCrc = info.oldDexCrC;

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

0 comments on commit 87a3dd4

Please sign in to comment.