commit | 258aa3e56b02b95e8e855ef949a29babe178b4a5 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Jun 01 13:56:18 2016 +0100 |
committer | Narayan Kamath <narayan@google.com> | Mon Jun 06 14:38:52 2016 +0100 |
tree | f4e021b8818bcb4ec5701c020bee6f7b51f913a2 | |
parent | 916f79882d7867d27fbd7abb32ec53028d9d3951 [diff] |
PackageManager: Dexopt core-apps during service bringup. Code from these apps can be loaded by the system_server and so we need to make sure they're compiled before their package contexts are requested. Leaving them interpreted will cause performance issues. On a Nexus 6P with WITH_DEXPREOPT=false, this adds an additional 26 seconds to every upgrade / first-boot and ends up optimizing a total of 20 apps. bug: 28639246 Change-Id: Ief3c0048fda4f1b1742fbf3e2476e65fa607a18a