Merge "Expose WindowCongifuration#getDisplayRotation as TestApi" into main