Uses the nearest DeviceProfileProvider when one exists, and
otherwise detects for itself — so a standalone overlay or a labkit panel
rendered outside a <SceneCanvas> still gets correct facts.
overrides always wins over both, which is what makes tests and
force-touch-chrome demos possible without stubbing matchMedia.
Read the ambient device profile.
Uses the nearest DeviceProfileProvider when one exists, and otherwise detects for itself — so a standalone overlay or a labkit panel rendered outside a
<SceneCanvas>still gets correct facts.overridesalways wins over both, which is what makes tests and force-touch-chrome demos possible without stubbingmatchMedia.