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

Commit 03c0e9e1 authored by Matt Sziklay's avatar Matt Sziklay
Browse files

No-op desk creation if display doesn't support desks.

Persistent repository defaults to restoring desks on default display. However, because createDesk does not include a check that the provided display supports desktop mode, this can result in non-desktop devices launching desks from overview.

This CL no-ops the creation in DesktopTasksController and DesktopRepositoryInitializerImpl in this particular case as a quick fix, but long term the plan is for the persistent repository to support restoring to external displays.

Bug: 417907552
Test: Manual; open desk on external display on phone, reboot device, confirm no desk appears in overview.
Flag: com.android.window.flags.enable_multiple_desktops_backend
Change-Id: I7c7acda85f130a1fc5176906efd145854d45abe3
parent 11538b19
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