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
(cherry picked from commit a26982f821)
Merged-In: Ie7aa921dec1aa1f4f8582041dae1679950f4d868
This commit is contained in:
committed by
Cherrypicker Worker
parent
21688acee8
commit
ab991a63ee
@@ -205,6 +205,7 @@ public final class ProfcollectForwardingService extends SystemService {
|
||||
.setRequiresDeviceIdle(true)
|
||||
.setRequiresCharging(true)
|
||||
.setPeriodic(BG_PROCESS_PERIOD)
|
||||
.setPriority(JobInfo.PRIORITY_MIN)
|
||||
.build());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user