Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c865ae43 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 393fe8b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment