Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d3bf9f17 authored by Varun Shah's avatar Varun Shah
Browse files

Add a new API to fetch reasons why a job may be pending.

This new API (getPendingJobReasons()) is similar to the existing
getPendingJobReason API (deprecated in this change) but it returns
all potential reasons why a job may be pending rather just one
pseudo-random reason.

Also add a new pending job reason for when the override deadline
constraint is set by the app.

Bug: 372031023
Test: atest JobSchedulingTest
Test: atest JobSchedulerServiceTest
Flag: android.app.job.get_pending_job_reasons_api
Change-Id: I56cf2d7c703a5482b5838aaedd4fdfb338f204ea
parent 060899bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment