Loading services/core/java/com/android/server/am/ActivityStack.java +1 −6 Original line number Diff line number Diff line Loading @@ -1016,12 +1016,7 @@ final class ActivityStack { } else if (!hasVisibleBehindActivity()) { // If we were visible then resumeTopActivities will release resources before // stopping. ActivityRecord top = topRunningActivityLocked(null); if (top != null && top.equals(prev) && mService.isSleepingOrShuttingDown()){ Slog.d(TAG, "Top activity keeps the pause sate. top : "+top); } else { mStackSupervisor.mStoppingActivities.add(prev); } if (mStackSupervisor.mStoppingActivities.size() > 3 || prev.frontOfTask && mTaskHistory.size() <= 1) { // If we already have a few activities waiting to stop, Loading Loading
services/core/java/com/android/server/am/ActivityStack.java +1 −6 Original line number Diff line number Diff line Loading @@ -1016,12 +1016,7 @@ final class ActivityStack { } else if (!hasVisibleBehindActivity()) { // If we were visible then resumeTopActivities will release resources before // stopping. ActivityRecord top = topRunningActivityLocked(null); if (top != null && top.equals(prev) && mService.isSleepingOrShuttingDown()){ Slog.d(TAG, "Top activity keeps the pause sate. top : "+top); } else { mStackSupervisor.mStoppingActivities.add(prev); } if (mStackSupervisor.mStoppingActivities.size() > 3 || prev.frontOfTask && mTaskHistory.size() <= 1) { // If we already have a few activities waiting to stop, Loading