Ensure delayed AndroidViewsHandler is measured upon creation
When isDelayAndroidViewsHandlerCreationEnabled is active, the container for AndroidViews is created lazily inside addAndroidView. Because addViewInLayout suppresses both measurement and layout passes, the container retains zeroed bounds immediately upon attachment. This change immediately invokes measure and layout when the delayed container attaches to an already-laid-out parent AndroidComposeView, preventing layout state inconsistencies during view interop. TAG=agy CONV=a4773e87-933a-4530-8ecd-5fc5a1684fc2 Test: ./gradlew :compose:ui:ui:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=androidx.compose.ui.platform.AndroidViewsHandlerDelayedCreationTest Relnote: N/A Bug: 529483648 Change-Id: Ic8c5fba362dcbb1cb2547141f345578a371a3fa6
G
George Mount committed
c83ac2471eef94e5efd2fa75acd475bf2b50353f
Parent: 862a7da