Skip to content

Commit 2329694

Browse files
author
关杰
committed
[atlas-core]bundle严格校验对debug包关闭,以兼容awo
1 parent 8b22990 commit 2329694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlas-core/src/main/java/android/taobao/atlas/framework/bundlestorage/BundleArchiveRevision.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public class BundleArchiveRevision {
379379
if (containerVersion == null ||
380380
(!TextUtils.isEmpty(Framework.getContainerVersion()) && !containerVersion.equals(Framework.getContainerVersion())) ||
381381
(!TextUtils.isEmpty(version) && !TextUtils.isEmpty(wantedVersion) && !version.equals(wantedVersion)) ||
382-
(!TextUtils.isEmpty(info.getVersion()) && version!=null&&!version.equals("-1") && !version.equals(info.getVersion()))) {
382+
(!TextUtils.isEmpty(info.getVersion()) && version!=null&&!version.equals("-1") && !version.equals(info.getVersion()) && !Framework.isDeubgMode())) {
383383
throw new BundleArchive.MisMatchException("mismatch bundle version" + revisionDir.getAbsolutePath());
384384
}
385385
}

0 commit comments

Comments
 (0)