Loading services/core/java/com/android/server/wm/ActivityRecord.java +9 −0 Original line number Diff line number Diff line Loading @@ -4732,6 +4732,15 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A Slog.v(TAG_VISIBILITY, "Start visible activity, " + this); } setState(STARTED, "makeActiveIfNeeded"); // Update process info while making an activity from invisible to visible, to make // sure the process state is updated to foreground. if (app != null) { app.updateProcessInfo(false /* updateServiceConnectionActivities */, true /* activityChange */, true /* updateOomAdj */, true /* addPendingTopUid */); } try { mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, StartActivityItem.obtain()); Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +9 −0 Original line number Diff line number Diff line Loading @@ -4732,6 +4732,15 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A Slog.v(TAG_VISIBILITY, "Start visible activity, " + this); } setState(STARTED, "makeActiveIfNeeded"); // Update process info while making an activity from invisible to visible, to make // sure the process state is updated to foreground. if (app != null) { app.updateProcessInfo(false /* updateServiceConnectionActivities */, true /* activityChange */, true /* updateOomAdj */, true /* addPendingTopUid */); } try { mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, StartActivityItem.obtain()); Loading