Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36a06391 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Prevent misuse of getFocusedTaskOnDisplay

This CL makes getFocusedTaskOnDisplay to return only taskId instead of
full TaskInfo whose properties may be stale as this observer only
updates the cache when the focus changes.

Flag: com.android.window.flags.enable_block_non_desktop_display_window_drag_bugfix
Flag: com.android.window.flags.enable_desktop_first_top_fullscreen_bugfix
Bug: 436462692
Test: ShellDesktopStateImplTest
Test: DesktopTasksControllerTest
Change-Id: Ide32a0ac2bed020a922964228ce64c145dbf7dae
parent 3ca8828c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment