diff options
author | 2024-10-15 18:37:34 +0100 | |
---|---|---|
committer | 2024-11-06 00:33:21 +0000 | |
commit | 8cec104ae64bd45e1377d799ac4653fbce7fb631 (patch) | |
tree | b380b89fd92add06af7778decb403fa8f32a00d7 /build | |
parent | d90eed6d02fac83d2f6f5880a955d26e7e4c74d9 (diff) |
Allow Pre-reboot Dexopt to be configured by BatchDexoptStartCallback.
Instead of calling `BatchDexoptStartCallback` from
`ArtManagerLocal.dexoptPackages` in the new service-art.jar loaded from
the OTA/Mainline package, do it in the current one where the OEM may
have configured it, and send over the resulting `BatchDexoptParams` data
instead.
Bug: 356996742
Bug: 369233230
Test: atest ArtServiceTests
Test: -
1. adb shell configure-batch-dexopt -r ab-ota --package com.android.settings --package com.android.calendar
2. adb shell pm art pr-dexopt-job --run
Change-Id: I4ab65cecb4fa7724a6e1ac1a04532ac2d3fef4ef
Diffstat (limited to 'build')
-rw-r--r-- | build/flags/art-flags.aconfig | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/build/flags/art-flags.aconfig b/build/flags/art-flags.aconfig index 35ac49ed0b..05b6c55a52 100644 --- a/build/flags/art-flags.aconfig +++ b/build/flags/art-flags.aconfig @@ -36,10 +36,19 @@ flag { } flag { - namespace: "art_performance" - name: "executable_method_file_offsets" - is_exported: true - description: "This flag includes the API for getting the compiled native executable offset info for a java method" - bug: "296108553" - is_fixed_read_only: true + namespace: "art_performance" + name: "executable_method_file_offsets" + is_exported: true + description: "This flag includes the API for getting the compiled native executable offset info for a java method" + bug: "296108553" + is_fixed_read_only: true +} + +flag { + name: "art_service_v3" + namespace: "art_mainline" + description: "Flag for all new ART Service APIs added in the 25Q2 version of the ART module." + bug: "373820009" + is_fixed_read_only: true + is_exported: true } |