Loading services/core/java/com/android/server/am/ActiveServices.java +2 −2 Original line number Diff line number Diff line Loading @@ -825,7 +825,7 @@ public final class ActiveServices { boolean anyForeground = false; for (int i=proc.services.size()-1; i>=0; i--) { ServiceRecord sr = proc.services.valueAt(i); if (sr.isForeground) { if (sr.isForeground || sr.fgRequired) { anyForeground = true; break; } Loading Loading @@ -1869,7 +1869,7 @@ public final class ActiveServices { final boolean newService = app.services.add(r); bumpServiceExecutingLocked(r, execInFg, "create"); mAm.updateLruProcessLocked(app, false, null); mAm.updateOomAdjLocked(); updateServiceForegroundLocked(r.app, true); boolean created = false; try { Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +2 −2 Original line number Diff line number Diff line Loading @@ -825,7 +825,7 @@ public final class ActiveServices { boolean anyForeground = false; for (int i=proc.services.size()-1; i>=0; i--) { ServiceRecord sr = proc.services.valueAt(i); if (sr.isForeground) { if (sr.isForeground || sr.fgRequired) { anyForeground = true; break; } Loading Loading @@ -1869,7 +1869,7 @@ public final class ActiveServices { final boolean newService = app.services.add(r); bumpServiceExecutingLocked(r, execInFg, "create"); mAm.updateLruProcessLocked(app, false, null); mAm.updateOomAdjLocked(); updateServiceForegroundLocked(r.app, true); boolean created = false; try { Loading