OSDN Git Service

Drop REASON_NON_SYSTEM_LIBRARY.
authorNicolas Geoffray <ngeoffray@google.com>
Sun, 26 Mar 2017 13:09:04 +0000 (14:09 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 28 Mar 2017 14:36:39 +0000 (14:36 +0000)
commit90978b4159dd1394c0643ae8171d24668fbc27a4
tree7bcee7430adbf03a9d36c4420928c5f4f59e1973
parentb70e4bfe0776a3446ccfddd5a10b1ff155f60e34
Drop REASON_NON_SYSTEM_LIBRARY.

Dexopt them with the same "mode" as the apk we are
going to dexopt. Because we treat them as shared, this
means they are only going to be fully compiled once an app
that has it in its <uses-library> gets compiled.

bug:33799337
Test: m -j32 && boot
Change-Id: Ic93fbcf45be6b9cf31ad3a3eb498f9fbbefeb288
services/core/java/com/android/server/pm/PackageManagerService.java
services/core/java/com/android/server/pm/PackageManagerServiceCompilerMapping.java