RootWindowContainer#performSurfacePlacement ->
WindowManagerService#updateFocusedWindowLocked ->
RootWindowContainer#updateFocusedWindowLocked ->
DisplayContent#findFocusedWindowIfNeeded ->
InputMonitor#updateInputWindowsLw ->
SurfaceControl#setFocusedWindow ->
SurfaceFlinger#... -> InputDispatcher#setInputWindowsLocked
堆栈:
at com.android.server.wm.WindowManagerService.updateFocusedWindowLocked(WindowManagerService.java:6590)
at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:6171)
at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:6182)
at com.android.server.wm.ActivityRecord.setVisibility(ActivityRecord.java:6062)
at com.android.server.wm.ActivityRecord.setVisibility(ActivityRecord.java:5885)
at com.android.server.wm.ActivityRecord.completeResumeLocked(ActivityRecord.java:7005)
at com.android.server.wm.TaskFragment.resumeTopActivity(TaskFragment.java:1648)
at com.android.server.wm.Task.resumeTopActivityInnerLocked(Task.java:5901)
at com.android.server.wm.ActivityRecord.makeActiveIfNeeded(ActivityRecord.java:6831)
at com.android.server.wm.RootWindowContainer.lambda$resumeFocusedTasksTopActivities$18(RootWindowContainer.java:2566)
at com.android.server.wm.RootWindowContainer$$ExternalSyntheticLambda17.accept(Unknown Source:15)
at com.android.server.wm.WindowContainer.forAllRootTasks(WindowContainer.java:2158)
at com.android.server.wm.RootWindowContainer.resumeFocusedTasksTopActivities(RootWindowContainer.java:2542)