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

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

Merge "Remove outdated logic of checking display-has-content" into main

parents c7a24b81 6349cd4f
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -480,18 +480,6 @@ class WindowStateAnimator {
                if (mLastHidden) {
                    showRobustly(t);
                    mLastHidden = false;
                    final DisplayContent displayContent = w.getDisplayContent();
                    if (!displayContent.getLastHasContent()) {
                        // This draw means the difference between unique content and mirroring.
                        // Run another pass through performLayout to set mHasContent in the
                        // LogicalDisplay.
                        displayContent.pendingLayoutChanges |= FINISH_LAYOUT_REDO_ANIM;
                        if (DEBUG_LAYOUT_REPEATS) {
                            mService.mWindowPlacerLocked.debugLayoutRepeats(
                                    "showSurfaceRobustlyLocked " + w,
                                    displayContent.pendingLayoutChanges);
                        }
                    }
                }
            }
        }