profcollect: Reduce background processing job priority
The processing job is non-critical but quite CPU intensive. Reducing priority allows the system to throttle the job more aggresively. Test: presubmit Bug: 241948742 Change-Id: Ie7aa921dec1aa1f4f8582041dae1679950f4d868
This commit is contained in:
parent
ace6c8c76e
commit
a26982f821
@ -205,6 +205,7 @@ public final class ProfcollectForwardingService extends SystemService {
|
||||
.setRequiresDeviceIdle(true)
|
||||
.setRequiresCharging(true)
|
||||
.setPeriodic(BG_PROCESS_PERIOD)
|
||||
.setPriority(JobInfo.PRIORITY_MIN)
|
||||
.build());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user