Home > Enterprise >  How to check running jobs in my android device?
How to check running jobs in my android device?

Time:11-10

Context from documentation.

  • Schedule a job to be executed. Will replace any currently scheduled job with the same
    • ID with the new information in the {@link JobInfo}. If a job with the given ID is currently
    • running, it will be stopped.

CodePudding user response:

In your app, you call JobScheduler.getAllPendingJobs(). It will get all the pending jobs for your app.

If you mean across all apps, you can't.

CodePudding user response:

Use this adb dumpsys command and grep your jobId or package name to see more specific details.

e.g -> adb shell dumpsys jobscheduler | grep com.example.abcd

  • Related