diff options
author | Calin Juravle <calin@google.com> | 2016-07-12 15:56:41 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2016-07-14 08:20:29 +0000 |
commit | 0bd776207999ccba17e5adb163710bd7b16ac907 (patch) | |
tree | 87dc65e3ac52966e0af91ea739115bd662171ab9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 565621328dd4fc2e179a34494d0f8b8dc1b1eae9 (diff) |
[RFC] Special case system apps for profile optimizations
If the OTA updates a system app which was previously preopted to a non-
preopted state the app might end up being verified at runtime. That's
because by default the apps are verify-profile but for preopted apps
there's no profile.
Do a hacky check to ensure that if we have no profiles (a reasonable
indication that before the OTA the app was preopted) system apps get
compiled with a non-profile filter (by default interpret-only).
Bug: 30032273
Test: Andreas "has verified that Calin's change to A/B works as expected
and promotes things like SystemUI to speed. From my side, that's
ready to be merged"
Change-Id: I7a052a8ea76cab7f649dc993237ea05534d6c4b9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions