Loading services/core/java/com/android/server/am/ActiveServices.java +3 −5 Original line number Diff line number Diff line Loading @@ -493,11 +493,6 @@ public final class ActiveServices { } ServiceRecord r = res.record; if (allowBackgroundActivityStarts) { r.allowBgActivityStartsOnServiceStart(); } setFgsRestrictionLocked(callingPackage, callingPid, callingUid, service, r, allowBackgroundActivityStarts); Loading Loading @@ -710,6 +705,9 @@ public final class ActiveServices { "Not potential delay (user " + r.userId + " not started): " + r); } } if (allowBackgroundActivityStarts) { r.allowBgActivityStartsOnServiceStart(); } ComponentName cmp = startServiceInnerLocked(smap, service, r, callerFg, addToStarting); return cmp; } Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +3 −5 Original line number Diff line number Diff line Loading @@ -493,11 +493,6 @@ public final class ActiveServices { } ServiceRecord r = res.record; if (allowBackgroundActivityStarts) { r.allowBgActivityStartsOnServiceStart(); } setFgsRestrictionLocked(callingPackage, callingPid, callingUid, service, r, allowBackgroundActivityStarts); Loading Loading @@ -710,6 +705,9 @@ public final class ActiveServices { "Not potential delay (user " + r.userId + " not started): " + r); } } if (allowBackgroundActivityStarts) { r.allowBgActivityStartsOnServiceStart(); } ComponentName cmp = startServiceInnerLocked(smap, service, r, callerFg, addToStarting); return cmp; } Loading