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

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

Remove window decor for constructor

The window decor config should be created based on the type of caption
that will be drawn (handle vs header) because the density in the config
can be different for each type. Instead of passing in a config in the
ctor, always calculate it on relayout(), which is when the caption type
is known for the first time. The config isn't needed before relayout().

Bug: 332414819
Test: atest WMShellUnitTests
Change-Id: I9af8a483e648b9b94cddf7037a86bd27f595ed57
parent ef81b387
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