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

Commit 830d562c authored by Tom Natan's avatar Tom Natan Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17292763

Change-Id: I0c70e9d197e2dfb59d333a39b3e043303e290474
parents 866e977d f3811f7f
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) {