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

Commit 0f6d5f8a 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

am: 03a357f8

* commit '03a357f8':
  Make persistent apps become top correctly.

Change-Id: I4164ac2d6eaebf845f00a493187986ca9687fe7b
parents eb51b86a 03a357f8
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);