Declare SDK sandbox work profile install feature tag

Declare the SDK sandbox work profile install feature tag to allow using
the android namespace in the
"android.software.sdksandbox.sdk_install_work_profile" feature.

Fixes: 274624025
Test: manual (adb shell pm list features)
Change-Id: I7dec3369bccd558c9d3589fda0761b0500b43009
This commit is contained in:
Will Burr
2023-03-24 13:34:12 +00:00
parent 55a6e8d0d2
commit d6d0c3b575

View File

@@ -3044,6 +3044,17 @@ public abstract class PackageManager {
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_NFC_ANY = "android.hardware.nfc.any";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device contains support for installing SDKs to a work
* profile.
*
* @hide
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_SDK_SANDBOX_WORK_PROFILE_INSTALL =
"android.software.sdksandbox.sdk_install_work_profile";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device supports Open Mobile API capable UICC-based secure