Avoid redundant cutout calculation in testMinimalSizeDocked
A cutout refers to the region on a display that is obscured by physical
components such as cameras or other modules, preventing the actual
content from being visible. This cutout area is always contained within
the display boundaries. In the parentFrame, the cutout size has already
been factored into the design, so there is no need to account for it
again. The original code employs an incomplete or insufficient approach
by only considering a cutout on the left side of the screen, which may
not align with devices that feature a single-side cutout configuration.
Bug: 399014091
Test: ManifestLayoutTests
Change-Id: I7f834010602ffd578f3c022f83e5dff670d7d5d7
(cherry picked from commit ee8a65c5de5a71baa04c5563b0894816cda6afa4)
1 file changed