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

Commit 964cc9dc 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

am: 0f6d5f8a

* commit '0f6d5f8a':
  Make persistent apps become top correctly.

Change-Id: I10c57a404927ef4792d2afbd6649ebd96902b70c
parents 14deafdf 0f6d5f8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18555,6 +18555,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);