diff options
| author | 2024-11-28 13:30:45 +0000 | |
|---|---|---|
| committer | 2024-11-28 13:30:45 +0000 | |
| commit | 6c4eef38b204b6eb1331ba333e8579a842d38576 (patch) | |
| tree | 6f63c42a2a12e695c99dfec220462342ea08adbe | |
| parent | 1df7b6e9f9629196ee8d88e5596dc9d5ad468191 (diff) | |
| parent | 9ad327647317a4cfabbb4f659bc769bae2f9c6d2 (diff) | |
Merge "Add a mapping for compilation reason "cloud" for app startup metrics." into main am: 9ad3276473
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3380886
Change-Id: I022bab659c63f4df37dbdfc6a8b62856ccf922e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | services/core/java/com/android/server/pm/dex/ArtManagerService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/dex/ArtManagerService.java b/services/core/java/com/android/server/pm/dex/ArtManagerService.java index e49dc8250bc7..976999cf6ae0 100644 --- a/services/core/java/com/android/server/pm/dex/ArtManagerService.java +++ b/services/core/java/com/android/server/pm/dex/ArtManagerService.java @@ -426,6 +426,7 @@ public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub { private static final int TRON_COMPILATION_REASON_PREBUILT = 23; private static final int TRON_COMPILATION_REASON_VDEX = 24; private static final int TRON_COMPILATION_REASON_BOOT_AFTER_MAINLINE_UPDATE = 25; + private static final int TRON_COMPILATION_REASON_CLOUD = 26; // The annotation to add as a suffix to the compilation reason when dexopt was // performed with dex metadata. @@ -460,6 +461,8 @@ public class ArtManagerService extends android.content.pm.dex.IArtManager.Stub { return TRON_COMPILATION_REASON_INSTALL_BULK_DOWNGRADED; case "install-bulk-secondary-downgraded" : return TRON_COMPILATION_REASON_INSTALL_BULK_SECONDARY_DOWNGRADED; + case "cloud": + return TRON_COMPILATION_REASON_CLOUD; // These are special markers for dex metadata installation that do not // have an equivalent as a system property. case "install" + DEXOPT_REASON_WITH_DEX_METADATA_ANNOTATION : |