Skip to content

Commit

Permalink
[atlas-core] 还原解释执行并异步dex2oat的逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
关杰 committed May 3, 2017
1 parent 65dad20 commit e89faa5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ public synchronized void optDexFile() {
}

if (dexFile == null){
// dexFile = com.taobao.android.runtime.RuntimeUtils.loadDex(RuntimeVariables.androidApplication, bundleFile.getAbsolutePath(), odexFile.getAbsolutePath(), 0);
dexFile = DexFile.loadDex(bundleFile.getAbsolutePath(), odexFile.getAbsolutePath(), 0);
dexFile = com.taobao.android.runtime.RuntimeUtils.loadDex(RuntimeVariables.androidApplication, bundleFile.getAbsolutePath(), odexFile.getAbsolutePath(), 0);
//dexFile = DexFile.loadDex(bundleFile.getAbsolutePath(), odexFile.getAbsolutePath(), 0);
}
//9月份版本明天发布先不集成
// isDexOptDone = checkDexValid(dexFile);
Expand Down

0 comments on commit e89faa5

Please sign in to comment.