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

Commit 03a357f8 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: I3cce5f530659bf2355f79ebcd323ab79137aec92
parents 41ffbd36 29af3cab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18549,6 +18549,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);