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

Commit 29af3cab authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 53c33d97 666212b7
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);