Loading services/core/java/com/android/server/wm/WindowManagerService.java +6 −1 Original line number Diff line number Diff line Loading @@ -9444,8 +9444,13 @@ public class WindowManagerService extends IWindowManager.Stub * Returns {@code true} if the focused window is changed. Otherwise, returns {@code false}. */ boolean moveFocusToAdjacentEmbeddedWindow(@NonNull WindowState focusedWindow) { final ActivityRecord activity = focusedWindow.getActivityRecord(); if (activity == null) { return false; } final ActivityRecord mostRecentActivityInAdjacent = getMostRecentActivityInAdjacent( focusedWindow.getActivityRecord()); activity); moveFocusToActivity(mostRecentActivityInAdjacent); return !focusedWindow.isFocused(); Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +6 −1 Original line number Diff line number Diff line Loading @@ -9444,8 +9444,13 @@ public class WindowManagerService extends IWindowManager.Stub * Returns {@code true} if the focused window is changed. Otherwise, returns {@code false}. */ boolean moveFocusToAdjacentEmbeddedWindow(@NonNull WindowState focusedWindow) { final ActivityRecord activity = focusedWindow.getActivityRecord(); if (activity == null) { return false; } final ActivityRecord mostRecentActivityInAdjacent = getMostRecentActivityInAdjacent( focusedWindow.getActivityRecord()); activity); moveFocusToActivity(mostRecentActivityInAdjacent); return !focusedWindow.isFocused(); Loading