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

Commit 1a285496 authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

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

parents f47f8855 5ac9b20b
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());