commit | 0f14fd2cecd677b220abd18d5e78b70e08050357 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed Nov 23 18:20:18 2022 +0000 |
committer | Jiakai Zhang <jiakaiz@google.com> | Fri Dec 02 19:51:56 2022 +0000 |
tree | 53bb075a73d7bb66176471350ff643acf67dfd42 | |
parent | e4dd6b4f59c51dfe5cbda65a28ff54c59a938067 [diff] |
Reschedule bg dexopt job when it's cancelled by API. Partners may call `cancelBackgroundDexoptJob` in `OptimizePackagesCallback` to indicate that it's not a good timing to run the job. In this case, we should reschedule the job. This CL also changes the stats reporting code to make use of two new enum values added by https://r.android.com/2311750. Bug: 255563304 Test: atest ArtServiceTests Ignore-AOSP-First: ART Services. Change-Id: Ia15545040e5840974f5ca41eed7f616227180fab