OSDN Git Service

Change the location of current profiles for secondary dex files
authorCalin Juravle <calin@google.com>
Thu, 27 Jul 2017 23:31:55 +0000 (16:31 -0700)
committerCalin Juravle <calin@google.com>
Mon, 7 Aug 2017 19:01:45 +0000 (12:01 -0700)
commit1c809c7068f610ff22174dbe96b49f1b8ada9c1e
tree224142bd3a00d82b589e30d4393e8acdd1faec55
parent7cc9d29816baaa85185b4e13ebb05bfb1cc2dfce
Change the location of current profiles for secondary dex files

Update the installd code to handle the new location for secondary dex
profiles.

Tighten up the validation code and add tests.

Counter part for frameworks commit
a07ca21f9727325d76d2ddbfa119513f47f0b45f.

Bug: 62336157
Test: adb shell cmd package compile -r bg-dexopt --secondary-dex
com.google.android.googlequicksearchbox
      adb shell cmd package reconcile-secondary-dex-files
com.google.android.googlequicksearchbox

Change-Id: Ib7af091a35fe53e7f6bb5f30a09911188caff88f
cmds/installd/dexopt.cpp
cmds/installd/tests/installd_utils_test.cpp
cmds/installd/utils.cpp