Deflake ActivityWindowInfo tests

Because relayout can trigger the callback with the actual window size,
make sure to test on the main thread.

Bug: 330669647
Test: atest FrameworksCoreTests:ActivityThreadTest
Change-Id: I9eb42c608c8dc89a391cb0a0ccefa2d70ca1a778
1 file changed