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

Commit 74b386c9 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Do not wait for window with alpha=0" into udc-dev

parents cfe1185c 854fe8d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5647,7 +5647,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP

    @Override
    boolean isSyncFinished() {
        if (!isVisibleRequested()) {
        if (!isVisibleRequested() || isFullyTransparent()) {
            // Don't wait for invisible windows. However, we don't alter the state in case the
            // window becomes visible while the sync group is still active.
            return true;