Issue 407420295 reports that installed fullscreen PWAs are not drawing into the display cutout area.
The patch changes fullscreen PWA immersive mode cutout handling to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES.
Result: Fix verified on Android 10 (x86 emulator) and Android 13 (arm64). Both fullscreen and standalone PWAs now properly extend edge-to-edge with correct safe-area-insets.
display: fullscreen + viewport-fit=cover
display: standalone + viewport-fit=cover
document.requestFullscreen() API (not PWA)
Tested on Android 13 emulator with display cutout enabled. The notch test shows how the patch properly handles the cutout area.
Interactive demos for manual verification:
cmd overlay enable com.android.internal.display.cutout.emulation.tall# Enable display cutout on emulator
adb shell cmd overlay enable com.android.internal.display.cutout.emulation.tall
# Unpatched
adb install -r ChromePublic-unpatched-x86.apk
# Patched x86 (emulator)
adb install -r ChromePublic-patched-x86.apk
# Patched arm64 (arm64 device)
adb install -r ChromePublic-patched-arm64.apk