commit | 11b6eef33e5d6c08eed824425ea1b8e15bf33091 | [log] [tgz] |
---|---|---|
author | Jerome Gaillard <jgaillard@google.com> | Wed Oct 27 12:24:30 2021 +0100 |
committer | Jerome Gaillard <jgaillard@google.com> | Wed Oct 27 12:45:14 2021 +0000 |
tree | 8aa66960ce9aa213f10230efe4555de1cb5ae37e | |
parent | 266f2bd1eb3d821a6ad06e1fadbdff0d7aadc852 [diff] |
Fix layout measuring for dialogs The FrameLayout created by the Window Manager is supposed to be the root of a new window. So it should measure its children as such. This adapts the measuring of the FrameLayout to mimic ViewRootImpl#measureHierarchy. Bug: 197931929 Test: checked in Studio that it fixes dialogs for Compose Change-Id: I13b51fb793f674f563a73673c827f6ef6fd5c0ce (cherry picked from commit f2a5e7f49cdb31a6a35e387197db09603020afb2)