Adjust window layout for DisplayCutout
Add policy around how the display cutout should influence window layout: - if not requested, windows should not overlap with the display cutout - except windows that asked for LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR, which overlap only with a top cutout, provided they did not request any FULLSCREEN mode. - the content frame must never overlap with the display cutout - adds FLAG2_LAYOUT_IN_CUTOUT to explicitly ask to be laid out in the cutout area. Bug: 65689439 Test: atest com.android.server.policy.PhoneWindowManagerLayoutTest Change-Id: I3a966bc78ef7a4e076104a996799369c60ab7de1
Loading
Please register or sign in to comment