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

Commit 52fb8a42 authored by George Mount's avatar George Mount Committed by Android Git Automerger
Browse files

am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev

* commit '1a285496':
  Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
parents c9c512e0 1a285496
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public class ChangeBounds extends Transition {
    private void captureValues(TransitionValues values) {
        View view = values.view;

        if (view.isLaidOut()) {
        if (view.isLaidOut() || view.getWidth() != 0 || view.getHeight() != 0) {
            values.values.put(PROPNAME_BOUNDS, new Rect(view.getLeft(), view.getTop(),
                    view.getRight(), view.getBottom()));
            values.values.put(PROPNAME_PARENT, values.view.getParent());