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

Commit 707587ed authored by Jorge Gil's avatar Jorge Gil
Browse files

Desks: Apply activation changes on user switch from Shell

Handle transition requests for user switches to deactivate desks of the
outgoing user and activate desks of the new user if applicable.

This also makes changes in DesksTransitionObserver: user-switches are
no longer an "independent" desk transition, so this flags off a lot of
the user-switch detection that was needed before.

Flag: com.android.window.flags.apply_desk_activation_on_user_switch
Bug: 420858253
Bug: 430988310
Fix: 415381304
Test: switch users:
- from empty desk to empty desk
- empty desk to non-empty desk (and viceversa)
- empty desk to Home (and viceversa)
- non-empty desk to Home (and viceversa)
verify tasks are restored as expected

Change-Id: I99a8a243e69d1a4c53606f72fcdc5e511722cbc1
parent c98ea903
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