Loading services/core/java/com/android/server/wm/DisplayRotationCompatPolicy.java +1 −1 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ final class DisplayRotationCompatPolicy { } /** * Notifies that animation in {@link ScreenAnimationRotation} has finished. * Notifies that animation in {@link ScreenRotationAnimation} has finished. * * <p>This class uses this signal as a trigger for notifying the user about forced rotation * reason with the {@link Toast}. Loading services/core/java/com/android/server/wm/Transition.java +7 −0 Original line number Diff line number Diff line Loading @@ -1194,6 +1194,13 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { if (asyncRotationController != null && containsChangeFor(dc, mTargets)) { asyncRotationController.onTransitionFinished(); } if (hasParticipatedDisplay && dc.mDisplayRotationCompatPolicy != null) { final ChangeInfo changeInfo = mChanges.get(dc); if (changeInfo != null && changeInfo.mRotation != dc.getWindowConfiguration().getRotation()) { dc.mDisplayRotationCompatPolicy.onScreenRotationAnimationFinished(); } } if (mTransientLaunches != null) { InsetsControlTarget prevImeTarget = dc.getImeTarget( DisplayContent.IME_TARGET_CONTROL); Loading Loading
services/core/java/com/android/server/wm/DisplayRotationCompatPolicy.java +1 −1 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ final class DisplayRotationCompatPolicy { } /** * Notifies that animation in {@link ScreenAnimationRotation} has finished. * Notifies that animation in {@link ScreenRotationAnimation} has finished. * * <p>This class uses this signal as a trigger for notifying the user about forced rotation * reason with the {@link Toast}. Loading
services/core/java/com/android/server/wm/Transition.java +7 −0 Original line number Diff line number Diff line Loading @@ -1194,6 +1194,13 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { if (asyncRotationController != null && containsChangeFor(dc, mTargets)) { asyncRotationController.onTransitionFinished(); } if (hasParticipatedDisplay && dc.mDisplayRotationCompatPolicy != null) { final ChangeInfo changeInfo = mChanges.get(dc); if (changeInfo != null && changeInfo.mRotation != dc.getWindowConfiguration().getRotation()) { dc.mDisplayRotationCompatPolicy.onScreenRotationAnimationFinished(); } } if (mTransientLaunches != null) { InsetsControlTarget prevImeTarget = dc.getImeTarget( DisplayContent.IME_TARGET_CONTROL); Loading