Device compatibility mode

Android activates a compatibility mode for apps that declare orientation or resizability restrictions. Compatibility mode ensures acceptable app behavior on large screen devices, foldable flip phones, and desktop environments but with suboptimal usability.

Per-app overrides enable device manufacturers, virtual device owners1, and users to change app behavior to improve app layout or prevent apps from breaking on select devices.

Android 16

Android 16 (API level 36) ignores screen orientation, aspect ratio, and app resizability restrictions to improve the layout of apps on form factors with smallest width >= 600dp.

The following per-app overrides are nonfunctional for apps that target API level 36:

Opt out

Your app can target API level 36 but opt out of the Android 16 behavior, in which case OVERRIDE_ANY_ORIENTATION_TO_USER is not applicable.

Declare manifest property

To opt out of the API level 36 behavior, declare the PROPERTY_COMPAT_