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

Skip to content
Commit d1ff8ae8 authored by Garfield Tan's avatar Garfield Tan
Browse files

Use RootTDAOrganizer to determine caption visibility

This is a remnant of ag/26927955.

It's possible that root TDA info is unavailable when we need to decide
the visibility of decor captions if a display and a task on that display
show up roughly at the same time. Instead of ensuring the order of
events, it's easier to "guess" the need of captions using other signals.
Ultimately other modes of freeform tasks (e.g. desktop mode) need to
have their own implementations of window decors & window decor view
models, in which they have full knowledge of whether their window decors
should show up without relying on info from higher containers. Root
TDA's windowing mode should also be controlled by WM shell in those
cases as well.

Bug: 333724879
Test: Captions show up as expected.
Change-Id: Ia3f0ffb3ee02fb9a993952dc3cfa7ac210b2f160
parent 618d1f82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment