Update the global focus state on onTaskInfoChanged without flag
decoration.mHasGlobalFocus is updated through ShellTransitions before onTaskInfoChanged when the enableDisplayFocusInShellTransitions flag is on, but not without the flag. We need to update the mHasGlobalFocus when the flag is off on onTaskInfoChanged. Bug: 374159712 Flag: com.android.window.flags.enable_display_focus_in_shell_transitions Test: atest DesktopModelWindowDecorViewModelTests Change-Id: I64bf847bd15cc29b9714ca60ae5a8766e9f350b7
Loading
Please register or sign in to comment