Merge "Work on issue #130684057: oom_adj scores for 1P apps are abnormally low" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
151675e37e
@@ -248,7 +248,8 @@ public final class JobServiceContext implements ServiceConnection {
|
|||||||
scheduleOpTimeOutLocked();
|
scheduleOpTimeOutLocked();
|
||||||
final Intent intent = new Intent().setComponent(job.getServiceComponent());
|
final Intent intent = new Intent().setComponent(job.getServiceComponent());
|
||||||
boolean binding = mContext.bindServiceAsUser(intent, this,
|
boolean binding = mContext.bindServiceAsUser(intent, this,
|
||||||
Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND,
|
Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
||||||
|
| Context.BIND_NOT_VISIBLE | Context.BIND_ADJUST_BELOW_PERCEPTIBLE,
|
||||||
new UserHandle(job.getUserId()));
|
new UserHandle(job.getUserId()));
|
||||||
if (!binding) {
|
if (!binding) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
|
|||||||
Reference in New Issue
Block a user