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

Commit 078804cb authored by Jorge Gil's avatar Jorge Gil
Browse files

Desks: Allow restoring desk root tasks on user switch

Prior logic to save visible root tasks on user-switch to restore to when
switching back did not account for non-leaves not being associated to a
particular user, so this change removes all user checks because
visibility is already only possible for the current user.

This fixes an issue with desktop windowing's desk roots and children not
being restored.

Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 404591902
Test: with a desktop open, switch users, switch back, check desktop
tasks are restored

Change-Id: I2d5883a274f8ec09778e9f7d36e08741a077034c
parent 1ff45114
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