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

am: 151675e37e

Change-Id: I0e9039ff33fefb3e17aec73f347b8b11acc9e363
This commit is contained in:
Dianne Hackborn
2019-04-19 12:16:19 -07:00
committed by android-build-merger

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) {