Fix inconsistent info in display frames
DisplayRotation#mRotation may be set to target rotation earlier than
update display info (especially wait for remote rotation). So it is
more stable to keep the basic information of display frames are set
from the same source. Otherwise DisplayPolicy#getRotatedWindowBounds
may misjudge that the window bounds need to rotate.
Bug: 163795211
Test: atest DisplayContentTests ScreenDecorWindowTests
Change-Id: Iccac43c313161502c1ce41899d39ab774a23adbc
1 file changed