SF: Calculate WindowInfo frame correctly for all layers
The old logic skipped transform calculation using an early return if the
layer bounds were invalid. This skipped the calculations which
transformed the WindowInfo frame into display space. This also resulted in
container layers being misconfigured, since they did not have their
input bounds calculated correctly.
Allow all layers to have their WindowInfo calculated correctly in
display space, even if their input bounds happen to be invalid.
Bug: 162194035
Test: atest libgui_test
Test: manual
Change-Id: I7b3c361bb9a12adf52586d3a940501e4d8a9e667
4 files changed