summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2023-04-10 21:32:28 -0700
committer Jing Ji <jji@google.com> 2023-04-12 21:27:04 -0700
commit6dc489c8ffdf816245fd1bd8c3410b478169d3ea (patch)
tree8decd8eae6cba88691310133b340ad2574028680 /api/api.go
parent7220f21ddd422e5b4d186f060bfd54445b4e7e77 (diff)
Skip stopping the BG services for the new processes
Processes are created as UID idle state, and we may emit the UID IDLE event after it's being created. However this would stop the pending bg services if they happen to be in the middle of restart, which doesn't make sense here. So we don't stop the bg services if its a new process here. Bug: 272375589 Test: tree hugger Change-Id: I1a7f2c963295b2f42c19ddf73dd59583d65ba02f
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions