commit | 249c1796a2e62f8751348e5bafce9f40e6538cba | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Sep 06 15:35:28 2016 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Tue Sep 06 15:47:59 2016 +0100 |
tree | eed5b3c8816b8dc50476480a5e0f6723cde5123e | |
parent | 6fabbc60fc91fc60bbcc6bdabab005a2d31e9601 [diff] |
installd: Simplify Dalvik cache path creation Installd computes Dalvik cache path for a dex file by concatenating '/classes.dex' to the APKs absolute path and then replacing all '/' characters with '@'. OTA preopt does the same, only in reverse order, i.e by concatenating '@classes.dex' to altered absolute path. This patch unifies the two approaches so as to keep only one string constant. Change-Id: I69bb6bca831f45c873a0eb8580cf8d4b011f3b09