Loading services/core/java/com/android/server/wm/WindowManagerService.java +4 −7 Original line number Diff line number Diff line Loading @@ -9057,7 +9057,6 @@ public class WindowManagerService extends IWindowManager.Stub @Override public boolean moveFocusToAdjacentEmbeddedActivityIfNeeded() { boolean focusMoved = false; synchronized (mGlobalLock) { final WindowState focusedWindow = getFocusedWindow(); if (focusedWindow == null) { Loading @@ -9066,14 +9065,12 @@ public class WindowManagerService extends IWindowManager.Stub if (moveFocusToAdjacentEmbeddedWindow(focusedWindow)) { // Sync the input transactions to ensure the input focus updates as well. focusMoved = true; } syncInputTransactions(false); return true; } if (focusMoved) { syncInputTransactions(false); return false; } return focusMoved; } @Override Loading Loading @@ -9770,7 +9767,7 @@ public class WindowManagerService extends IWindowManager.Stub */ boolean moveFocusToAdjacentEmbeddedWindow(@NonNull WindowState focusedWindow) { final ActivityRecord activity = focusedWindow.getActivityRecord(); if (activity == null || !activity.isVisible()) { if (activity == null) { return false; } Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +4 −7 Original line number Diff line number Diff line Loading @@ -9057,7 +9057,6 @@ public class WindowManagerService extends IWindowManager.Stub @Override public boolean moveFocusToAdjacentEmbeddedActivityIfNeeded() { boolean focusMoved = false; synchronized (mGlobalLock) { final WindowState focusedWindow = getFocusedWindow(); if (focusedWindow == null) { Loading @@ -9066,14 +9065,12 @@ public class WindowManagerService extends IWindowManager.Stub if (moveFocusToAdjacentEmbeddedWindow(focusedWindow)) { // Sync the input transactions to ensure the input focus updates as well. focusMoved = true; } syncInputTransactions(false); return true; } if (focusMoved) { syncInputTransactions(false); return false; } return focusMoved; } @Override Loading Loading @@ -9770,7 +9767,7 @@ public class WindowManagerService extends IWindowManager.Stub */ boolean moveFocusToAdjacentEmbeddedWindow(@NonNull WindowState focusedWindow) { final ActivityRecord activity = focusedWindow.getActivityRecord(); if (activity == null || !activity.isVisible()) { if (activity == null) { return false; } Loading