Large screen OEM per-app overrides

Android provides compatibility overrides that change the configured behavior of apps. For example, the FORCE_RESIZE_APP override instructs the system to resize the app to fit display dimensions even if resizeableActivity="false" is set in the app manifest.

Device original equipment manufacturers (OEMs) apply overrides to selected apps on specific large screen devices.

Per-app overrides are intended to fix broken app behavior or improve the user experience on large screen devices. Apps can disable some overrides.

For more information about per-app overrides, see Large screen compatibility mode.

OEM overrides

OEMs apply compatibility overrides to apps to improve the user experience on large screen devices such as foldables. For a complete list of overrides, see Large screen compatibility mode

Disable the overrides

PackageManager.Property tags enable apps to disable compatibility overrides. Android 14 introduces the following tags:


  • PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES

    To disable the FORCE_RESIZE_APP and FORCE_NON_RESIZE_APP overrides, set the property to false in your app manifest:

    <application>
        <property
            android:name="android.window.PROPERTY_COMPAT_ALLOW_RESIZEABLE_ACTIVITY_OVERRIDES"
            android:value="false"/>
    </application>
    

    Optimize your app for large screens: Make your app resizable and implement responsive/adaptive layouts for an optimal user experience on displays of all sizes.


  • PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE

    To disable OVERRIDE_MIN_ASPECT_RATIO, set the property to false in your app manifest:

    <application>
        <property
            android:name="android.window.PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE"
            android:value="false"/>
    </application>
    

    The property also disables the following OEM overrides:

    Optimize your app for large screens: Don't set aspect ratio restrictions in your app. Create app layouts that support different screen sizes and multi‑window mode.