Merge "Clean up stale fixed rotation state" into udc-qpr-dev
This commit is contained in:
@@ -2751,6 +2751,10 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
|
||||
void onAppTransitionDone() {
|
||||
super.onAppTransitionDone();
|
||||
mWmService.mWindowsChanged = true;
|
||||
onTransitionFinished();
|
||||
}
|
||||
|
||||
void onTransitionFinished() {
|
||||
// If the transition finished callback cannot match the token for some reason, make sure the
|
||||
// rotated state is cleared if it is already invisible.
|
||||
if (mFixedRotationLaunchingApp != null && !mFixedRotationLaunchingApp.isVisibleRequested()
|
||||
|
||||
@@ -1328,6 +1328,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
|
||||
if (asyncRotationController != null && containsChangeFor(dc, mTargets)) {
|
||||
asyncRotationController.onTransitionFinished();
|
||||
}
|
||||
dc.onTransitionFinished();
|
||||
if (hasParticipatedDisplay && dc.mDisplayRotationCompatPolicy != null) {
|
||||
final ChangeInfo changeInfo = mChanges.get(dc);
|
||||
if (changeInfo != null
|
||||
|
||||
Reference in New Issue
Block a user