OSDN Git Service

Fix incorrect odex path handling
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 28 Apr 2014 07:47:45 +0000 (15:47 +0800)
committerBrian Carlstrom <bdc@google.com>
Mon, 28 Apr 2014 21:08:16 +0000 (14:08 -0700)
commit0e8ae16f084e3d4772ea6dd33a9b72925d7b40d5
tree154f1e08d9bd71a3c81b49d42ac8bb1aa71ceb8b
parent3f0d5669eb437ce1f9ce599e196d045534ec3d4f
Fix incorrect odex path handling

It's wrong to just concatenate the apk_path and .odex.
The bug prevents the prebuilt odex being used since Kitkat.

The patch is copied from the code of JellyBean.

Change-Id: I0ce8a877e3df8ae1ab9a0e3aeeef2d5253efc223
cmds/installd/commands.c