Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b85cbb5 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

am 6c9f0a01: Merge "Avoid changeBounds animations on Views that are not yet laidout" into lmp-dev

* commit '6c9f0a01':
  Avoid changeBounds animations on Views that are not yet laidout
parents e4e57804 6c9f0a01
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -117,6 +117,8 @@ public class ChangeBounds extends Transition {

    private void captureValues(TransitionValues values) {
        View view = values.view;

        if (view.isLaidOut()) {
            values.values.put(PROPNAME_BOUNDS, new Rect(view.getLeft(), view.getTop(),
                    view.getRight(), view.getBottom()));
            values.values.put(PROPNAME_PARENT, values.view.getParent());
@@ -126,6 +128,7 @@ public class ChangeBounds extends Transition {
                values.values.put(PROPNAME_WINDOW_Y, tempLocation[1]);
            }
        }
    }

    @Override
    public void captureStartValues(TransitionValues transitionValues) {