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

Commit 2f35f15a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix showing views after failed transition to translucent window." into oc-mr1-dev

parents 8af60e4c 476aeeab
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1006,9 +1006,12 @@ abstract class ActivityTransitionCoordinator extends ResultReceiver {
        final int numElements = mTransitioningViews == null ? 0 : mTransitioningViews.size();
        for (int i = 0; i < numElements; i++) {
            final View view = mTransitioningViews.get(i);
            view.setTransitionVisibility(visiblity);
            if (invalidate) {
                view.invalidate();
                // Allow the view to be invalidated by the visibility change
                view.setVisibility(visiblity);
            } else {
                // Don't invalidate the view with the visibility change
                view.setTransitionVisibility(visiblity);
            }
        }
    }