[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
Loading
Please register or sign in to comment