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

Commit bc345b0b authored by Evan Rosky's avatar Evan Rosky
Browse files

Use WindowRelayoutResult for all WM->Client layout

The interface between client and WM has multiple methods
passing around the same set of information. It turns out that
WindowRelayoutResult encapsulates this pretty well and is
parcelable which makes it work well as a binder `out` parameter.

Take the existing APIs which are passing layout information and
have them all use this one.

This includes pulling the SurfaceControl out of WindowRelayoutResult
since it is only used for relayout -- in other words, common stuff
stays in WindowRelayoutResult while each API's unique parameters
don't.

Bug: 385976595
Test: Existing tests
Flag: EXEMPT mechanical refactor
Change-Id: I62aeebf16296b3c4af3c51582bceded21cf593c8
parent 0b652dad
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