summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-09-01 00:47:40 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-09-01 00:47:40 +0000
commitf641215564e66ec042cd6f9e2f12d3d1a30f34aa (patch)
tree99694b347b0377197d97b6b1ee976fae685ae7f3
parent5624170e27f9e88048b80e0cf26717d0590b5387 (diff)
parentc98e315d33f9a26b618b2829fe5c493a6df0af8b (diff)
Merge "profcollect: Reduce background processing job priority" am: 005e71f3bc am: 4b2be3bd33 am: c207897d10 am: c98e315d33
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2200481 Change-Id: I65e2c9253e2008635ae18cc77bdcb67bbf55781e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java b/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
index d3222901db1e..3c6866205fda 100644
--- a/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
+++ b/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
@@ -205,6 +205,7 @@ public final class ProfcollectForwardingService extends SystemService {
.setRequiresDeviceIdle(true)
.setRequiresCharging(true)
.setPeriodic(BG_PROCESS_PERIOD)
+ .setPriority(JobInfo.PRIORITY_MIN)
.build());
}