Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee126f04 authored by tomnatan's avatar tomnatan
Browse files

Add an 'android.software.app_compat_overrides' feature

This feature will allow OEMs to opt-in specific devices/builds to per-app compat overrides.

Bug: 188500456
Test: N/A
Change-Id: I00108d163f752d23c380496ccac971cf0fcfe0f6
parent bfe708d9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -3699,6 +3699,17 @@ public abstract class PackageManager {
    public static final String FEATURE_KEYSTORE_APP_ATTEST_KEY =
            "android.hardware.keystore.app_attest_key";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
     * is opted-in to receive per-app compatibility overrides that are applied in
     * {@link com.android.server.compat.overrides.AppCompatOverridesService}.
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_APP_COMPAT_OVERRIDES =
            "android.software.app_compat_overrides";

    /** @hide */
    public static final boolean APP_ENUMERATION_ENABLED_BY_DEFAULT = true;