testFixedOrientationWhenRotating: get the SizeInfo from ResizeableActivity as the initial value.

So it won't get the size in opposite orientation if the natural rotation of device is landscape.

Bug: 203925819
Test:
CtsWindowManagerDeviceTestCases.android.server.wm.AppConfigurationTests#testFixedOrientationWhenRotating

Change-Id: I4351798e20e7fdad1253f473025d8cd8c618dd85
(cherry picked from commit 1e081e7e58296bc025ae3a3d7aa57a4e6ede0680)
1 file changed