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

Commit b9e8a872 authored by Tim Murray's avatar Tim Murray Committed by android-build-merger
Browse files

Merge "Make persistent apps become top correctly." into nyc-dev

am: 29af3cab

* commit '29af3cab':
  Make persistent apps become top correctly.

Change-Id: Ic022afa3fa2004735b371dce4738da8d7dfeb008
parents 91dd6209 29af3cab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18551,6 +18551,8 @@ public final class ActivityManagerService extends ActivityManagerNative
            app.systemNoUi = true;
            if (app == TOP_APP) {
                app.systemNoUi = false;
                app.curSchedGroup = ProcessList.SCHED_GROUP_TOP_APP;
                app.adjType = "pers-top-activity";
            } else if (activitiesSize > 0) {
                for (int j = 0; j < activitiesSize; j++) {
                    final ActivityRecord r = app.activities.get(j);