Desktop windowing features

Android 16 introduced two desktop windowing features: customizable header insets and app instance management. This page describes the testing scenarios to verify browser compatibility. OEMs must verify that the feature implementation works as intended.

Test cases for customizable header insets

The following test cases verify browser compatibility with customizable header insets:

  • UI interactivity: Verify that the browser's caption bar UI remains fully interactive across all windowing configurations (freeform, split screen, and fullscreen).
  • System icon clearance: Confirm that the browser UI doesn't draw under system icons.
  • Foreground color application: Verify that the correct foreground colors are applied to system icons on the app header based on the browser's theme. This is particularly important when the browser's theme differs from the system theme.
  • Window dragging: Validate that a freeform window can be dragged by long-pressing anywhere on an empty area of the tab strip.
  • Tab visibility on resize: Test that tabs are shown or hidden based on the window's width to maintain optimal usability.

Test cases for app instance management with draggable gesture behavior

The following test cases verify browser compatibility with app instance management:

  • New window creation: Confirm that dragging a tab from the tab strip to an empty area creates a new browser window containing that tab.
  • No new window for the last tab (single instance): If only one browser instance is open, verify that dragging the last tab in that window doesn't create a new window.