Merge "Work on issue #130684057: oom_adj scores for 1P apps are abnormally low" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-19 18:29:26 +00:00
committed by Android (Google) Code Review

View File

@@ -248,7 +248,8 @@ public final class JobServiceContext implements ServiceConnection {
scheduleOpTimeOutLocked();
final Intent intent = new Intent().setComponent(job.getServiceComponent());
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()));
if (!binding) {
if (DEBUG) {