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

Commit 92424f8a authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Implement attachChildSurfaceToTask() in RootTaskDesksOrganizer

Now that DW tasks are orgnized by the desk organizer, we need to
implement attachChildSurfaceToTask() in RootTaskDesksOrganizer so
CompatUI can add dialogs etc to DW tasks. (Most of the app-compat
features are disabled in DW, but the new restart handle menu is
an exception.)

attachChildSurfaceToTask() needs a task's leash provided by
onTaskAppeared(), so we need to maintain leaf leashes in the
organizer as all other organizers do.

Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 416126996
Test: Manual. "Optimize View" no longer crashes.
Change-Id: Ic766c1a51551a315a38e475524e090e455618623
parent 0318370c
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