OSDN Git Service

Changed dvmDexCacheStatus to check for odex file first. android-x86-4.4-r1
authorJeff Hao <jeffhao@google.com>
Mon, 17 Mar 2014 20:49:35 +0000 (13:49 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 20 May 2014 07:46:46 +0000 (15:46 +0800)
commit35533af230d1cf2d7f07a77968b72ad64364a39a
treecc5bbbcb7b5a99cb2d13b72bd2e55330dcf9fcbc
parent474df315744d857345758fc2ee5765e46091443a
Changed dvmDexCacheStatus to check for odex file first.

This prevents the generation of a new dexfile when an odex file already
exists when switching between Art and Dalvik.

(cherry picked from commit 36e356c96640775f0a3f167bd2426ea0f0093b8b)

Change-Id: Ieafdca8453f70c96edb787b5a3a3ac7c7aeea021
vm/JarFile.cpp