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

Commit f3811f7f authored by Tom Natan's avatar Tom Natan Committed by Android (Google) Code Review
Browse files

Merge "Fix letterbox flickering rounded corners." into tm-dev

parents e235e7f5 747597a0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -145,6 +145,14 @@ final class LetterboxUiController {
            return;
        }
        updateRoundedCorners(w);
        // If there is another main window that is not an application-starting window, we should
        // update rounded corners for it as well, to avoid flickering rounded corners.
        final WindowState nonStartingAppW = mActivityRecord.findMainWindow(
                /* includeStartingApp= */ false);
        if (nonStartingAppW != null && nonStartingAppW != w) {
            updateRoundedCorners(nonStartingAppW);
        }

        updateWallpaperForLetterbox(w);
        if (shouldShowLetterboxUi(w)) {
            if (mLetterbox == null) {