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

Commit b235c668 authored by Massimo Carli's avatar Massimo Carli Committed by Android (Google) Code Review
Browse files

Merge "[2/n] Remove flag on startingWindow letterboxing check" into main

parents 823999d1 a2fc53a0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -181,9 +181,7 @@ class AppCompatLetterboxPolicy {

    void updateLetterboxSurfaceIfNeeded(@NonNull WindowState winHint) {
        // If a starting window is active, only apply updates to that specific window.
        if (Flags.appCompatRefactoringSkipStartingWindowLetterbox()
                && mActivityRecord.mStartingWindow != null
                && mActivityRecord.mStartingWindow != winHint) {
        if (mActivityRecord.mStartingWindow != null && mActivityRecord.mStartingWindow != winHint) {
            return;
        }
        mLetterboxPolicyState.updateLetterboxSurfaceIfNeeded(winHint,