Merge "JobScheduler: Move the concurrency calculation to a separate class"