Merge "Skip display rotation animation for non-change type transition" into udc-qpr-dev
This commit is contained in:
@@ -407,7 +407,7 @@ public class DefaultTransitionHandler implements Transitions.TransitionHandler {
|
|||||||
change.getEndAbsBounds().width(), change.getEndAbsBounds().height());
|
change.getEndAbsBounds().width(), change.getEndAbsBounds().height());
|
||||||
}
|
}
|
||||||
// Rotation change of independent non display window container.
|
// Rotation change of independent non display window container.
|
||||||
if (change.getParent() == null
|
if (change.getParent() == null && !change.hasFlags(FLAG_IS_DISPLAY)
|
||||||
&& change.getStartRotation() != change.getEndRotation()) {
|
&& change.getStartRotation() != change.getEndRotation()) {
|
||||||
startRotationAnimation(startTransaction, change, info,
|
startRotationAnimation(startTransaction, change, info,
|
||||||
ROTATION_ANIMATION_ROTATE, animations, onAnimFinish);
|
ROTATION_ANIMATION_ROTATE, animations, onAnimFinish);
|
||||||
|
|||||||
Reference in New Issue
Block a user