commit | b2b7b9a4385e35756b2a83fa1cfd080363236dfd | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Fri Nov 08 06:26:39 2024 +0000 |
committer | Varun Shah <varunshah@google.com> | Mon Nov 11 20:01:01 2024 +0000 |
tree | 87c0c84c9ec5506390d3aca3f8f064ed36ccd3d7 | |
parent | f874d583413dbaa93e69073e8746627d722032a5 [diff] |
Add a new API to fetch pending job reasons history. JobScheduler.getPendingJobReasonsHistory() will allow an app to query its constraint history for a particular job. This will only be a limited historical view of the constraints (currently last 10 constraint changes). Bug: 372031023 Test: atest JobSchedulingTest Flag: android.app.job.get_pending_job_reasons_history_api Change-Id: I9f858925e990e6dfd6db1b79b9f6cff36d1761e9