Remember to removeWindowLayoutInfoListener This doesn't fully fix the tests. However, it does at least allow the test to progress further and retrieve WindowLayoutInfo more than once. Bug: 255240808 Test: android.server.wm.jetpack.ExtensionWindowLayoutComponentTest#testGetWindowLayoutInfo_configChanged_windowLayoutUpdates Change-Id: I169af9525e801d9fc645bbe3f76349b350333d32 Merged-In: I0b1a6bc54217f5becc8e6ab44c151c37e5fe0e04