Merge "Add an 'android.software.app_compat_overrides' feature" into sc-v2-dev am: 3c3deaed91

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15328593

Change-Id: Ifac10503adc49a5c512c8a70d8dc9d6d4922bf41
This commit is contained in:
Tom Natan
2021-07-27 07:50:56 +00:00
committed by Automerger Merge Worker

View File

@@ -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;