Merge "Skip display rotation animation for non-change type transition" into udc-qpr-dev am: b0c6ad697c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24126192 Change-Id: Icf272fa36707b36ae01594000fb5a7f405435b32 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -407,7 +407,7 @@ public class DefaultTransitionHandler implements Transitions.TransitionHandler {
|
||||
change.getEndAbsBounds().width(), change.getEndAbsBounds().height());
|
||||
}
|
||||
// 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()) {
|
||||
startRotationAnimation(startTransaction, change, info,
|
||||
ROTATION_ANIMATION_ROTATE, animations, onAnimFinish);
|
||||
|
||||
Reference in New Issue
Block a user