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

Skip to content
Commit 441cb423 authored by wilsonshih's avatar wilsonshih
Browse files

[Back Navi] Fix fixed rotation doesn't work for cross animation.

Core will need to start fixed rotation on previous activity before
create animation leash, otherwise there won't do updateSurfaceRotation
if animation leash was create.
Also preventing from layout letterbox if the activity is stopped.
Currently there will layout letterbox to the closed activity in
destroySurface, and if the orientation of the closed activity isn't
align with display, the letterbox would be weird. But after all, the
letterbox should be hide at that moment.
Ref: ag/3381739, ag/22335688

Bug: 320902067
Test: verify the skew transfer will apply on opening target for both
cross-task and cross-activity animation.
Test: atest LetterboxUiControllerTest

Change-Id: Ic2d85fde708fb079242b1870da0780251d2ba741
parent 456d99d8
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