Loading services/java/com/android/server/am/ActivityStack.java +6 −1 Original line number Diff line number Diff line Loading @@ -1302,7 +1302,12 @@ final class ActivityStack { // We need to start pausing the current activity so the top one // can be resumed... if (mStackSupervisor.pauseBackStacks(userLeaving)) { boolean pausing = mStackSupervisor.pauseBackStacks(userLeaving); if (mResumedActivity != null) { pausing = true; startPausingLocked(userLeaving, false); } if (pausing) { if (DEBUG_SWITCH) Slog.v(TAG, "Skip resume: need to start pausing"); // At this point we want to put the upcoming activity's process // at the top of the LRU list, since we know we will be needing it Loading services/java/com/android/server/wm/WindowManagerService.java +9 −8 Original line number Diff line number Diff line Loading @@ -7341,10 +7341,11 @@ public class WindowManagerService extends IWindowManager.Stub } break; case TAP_OUTSIDE_STACK: case TAP_OUTSIDE_STACK: { int stackId; synchronized (mWindowMap) { int stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2); stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2); } if (stackId >= 0) { try { mActivityManager.setFocusedStack(stackId); Loading Loading
services/java/com/android/server/am/ActivityStack.java +6 −1 Original line number Diff line number Diff line Loading @@ -1302,7 +1302,12 @@ final class ActivityStack { // We need to start pausing the current activity so the top one // can be resumed... if (mStackSupervisor.pauseBackStacks(userLeaving)) { boolean pausing = mStackSupervisor.pauseBackStacks(userLeaving); if (mResumedActivity != null) { pausing = true; startPausingLocked(userLeaving, false); } if (pausing) { if (DEBUG_SWITCH) Slog.v(TAG, "Skip resume: need to start pausing"); // At this point we want to put the upcoming activity's process // at the top of the LRU list, since we know we will be needing it Loading
services/java/com/android/server/wm/WindowManagerService.java +9 −8 Original line number Diff line number Diff line Loading @@ -7341,10 +7341,11 @@ public class WindowManagerService extends IWindowManager.Stub } break; case TAP_OUTSIDE_STACK: case TAP_OUTSIDE_STACK: { int stackId; synchronized (mWindowMap) { int stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2); stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2); } if (stackId >= 0) { try { mActivityManager.setFocusedStack(stackId); Loading