Merge "Make persistent apps become top correctly." into nyc-dev am: 29af3cab29
am: 03a357f8e9
* commit '03a357f8e950aa60c67195844e6e382f0ad4b3b8':
Make persistent apps become top correctly.
Change-Id: I4164ac2d6eaebf845f00a493187986ca9687fe7b
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user