Merge "Wait for stable window geometry in AnrTest" into main