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

Skip to content
Commit 66a5144e authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Add new set of max job counts.

We'll use different max numbers for screen on and screen off,
and the semantics will be different from that of P (since the previous
code was broken), so I'm just adding a new set of configs.

Also add wrapper classes for config values.

Bug: 111360323
Test: dumpsys jobscheduler contains the following sections.
  max_job_total_on_normal=4
  max_job_bg_on_normal=2
  max_job_total_on_moderate=4
  max_job_bg_on_moderate=1
  max_job_total_on_low=4
  max_job_bg_on_low=1
  max_job_total_on_critical=2
  max_job_bg_on_critical=1
  max_job_total_off_normal=8
  max_job_bg_off_normal=4
  max_job_total_off_moderate=6
  max_job_bg_off_moderate=4
  max_job_total_off_low=4
  max_job_bg_off_low=1
  max_job_total_off_critical=2
  max_job_bg_off_critical=1

Change-Id: I46004a1633494c0498681f4ee1d0045d3c3ab4d7
parent 6fa14aba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment