OSDN Git Service

Compile core-apps according to their own "reason" for A/B
authorCalin Juravle <calin@google.com>
Tue, 12 Jul 2016 12:56:34 +0000 (13:56 +0100)
committerCalin Juravle <calin@google.com>
Tue, 12 Jul 2016 15:07:57 +0000 (16:07 +0100)
commit565621328dd4fc2e179a34494d0f8b8dc1b1eae9
tree5f8aa094387f8f9e646b8a5513886499d4825dcb
parentc1182a8128665884d9bca5bb2d73661e07d8fbdd
Compile core-apps according to their own "reason" for A/B

If the core apps are not preopted in the B OTA, and REASON_AB_OTA is not
speed (by default is speed-profile) they will be interepreted/JITed.
This in itself is not a problem as we will end up doing profile guided
compilation. However, some core apps may be loaded by system server
which doesn't JIT and we need to make sure we don't interpret-only.

Bug: 30032273
Change-Id: Idb11b1c01c4c4ceba043feb3a9ccc6958035d3b7
services/core/java/com/android/server/pm/OtaDexoptService.java