commit | d6625fffe7f3b5fdcb34e5736133aa9ab0dc7ad8 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Jan 10 12:06:21 2019 -0800 |
committer | Kweku Adams <kwekua@google.com> | Tue Jan 15 18:13:53 2019 -0800 |
tree | ba42855a3fcaab3bc95eb1138149d3d72e7b6435 | |
parent | e49bb32221986b962517d07fe52ae35b22d3153e [diff] |
Using proc state to determine foreground status. uidActive is true for bound foreground services. We would like to put a quota on jobs for those processes as well, so switching to proc state allows finer-grained control. Bug: 117846754 Bug: 111423978 Test: atest com.android.server.job.controllers.QuotaControllerTest Change-Id: I69b474b3dc0dda7a4d2234d75fd9023c3f041b67