Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37a63ac5 authored by Jing Ji's avatar Jing Ji Committed by Automerger Merge Worker
Browse files

Merge "Put stopping service's host process on top of cached process list" into...

Merge "Put stopping service's host process on top of cached process list" into sc-dev am: 95ca3989

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13701459

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c4141174cef30eab8499ba82063c646ab7c0ff3
parents e96dc699 95ca3989
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3881,6 +3881,8 @@ public final class ActiveServices {
                    r.name.getClassName());
            stopServiceAndUpdateAllowlistManagerLocked(r);
            if (r.app.getThread() != null) {
                // Bump the process to the top of LRU list
                mAm.updateLruProcessLocked(r.app, false, null);
                updateServiceForegroundLocked(r.app.mServices, false);
                try {
                    bumpServiceExecutingLocked(r, false, "destroy");