OSDN Git Service

Handle shared libraries for split apks.
authorJeff Hao <jeffhao@google.com>
Thu, 6 Apr 2017 00:09:59 +0000 (17:09 -0700)
committerJeff Hao <jeffhao@google.com>
Wed, 19 Apr 2017 00:08:34 +0000 (17:08 -0700)
commit7da652fd43fcbeb3d62093259970f458c20ee076
tree7f5a2a3f9d9743d64ce295f4804c4be9f23ace7b
parentaf5f00ee5e6eda69584d90ba96dc4e726cd2e8a2
Handle shared libraries for split apks.

As we dexopt all the code paths of a package, we now append the code
paths to the list of shared libraries. These paths are passed as
relative paths since the apks are staged during installation, and are
not where they will be at runtime.

Part of a multi-project change.

Bug: 34169257
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests

Merged-In: I73823ca575560cbd445d78a6cfbfc72031943265
(cherry-picked from commit 16d4843433e024100b4ecd183f827ad5bd8772a6)

Change-Id: I943bf8234899e1b25d4eb5e98af15d9150a7a842
services/core/java/com/android/server/pm/PackageDexOptimizer.java