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

Skip to content
Commit 3df0d8dc authored by Jorge Gil's avatar Jorge Gil
Browse files

Desks: Allow obtaining non-existent desk instance in single-desk setups

An unrelated SystemUI crash might wipe the desk/task state from the
DesktopRepository, and upon recreation, the existing freeform task
recreation might be faster than the desk recreation. This resulted in a
crash-loop because DesktopRepository was enforcing that a desk had been
created before attempting to add a task to it.

That enforcenment isn't really necessary in single-desk devices, so this
CL removes it to fix the regression.

Flag: EXEMPT bug fix
Test: crash SystemUI on purpose, check it recovers instead of getting
into a crash-loop
Bug: 391984373

Change-Id: I37a4a91e06d77207ff3a8da52ae14a7ad30e3616
parent 0e8e6672
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