Limited use key: feature flags. am: cd6c58acd8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1552315 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I52b94248ad9f27083cfe7c7e46243ec0ebe56699
This commit is contained in:
@@ -12134,6 +12134,8 @@ package android.content.pm {
|
||||
field public static final String FEATURE_INPUT_METHODS = "android.software.input_methods";
|
||||
field public static final String FEATURE_IPSEC_TUNNELS = "android.software.ipsec_tunnels";
|
||||
field public static final String FEATURE_IRIS = "android.hardware.biometrics.iris";
|
||||
field public static final String FEATURE_KEYSTORE_LIMITED_USE_KEY = "android.hardware.keystore.limited_use_key";
|
||||
field public static final String FEATURE_KEYSTORE_SINGLE_USE_KEY = "android.hardware.keystore.single_use_key";
|
||||
field public static final String FEATURE_LEANBACK = "android.software.leanback";
|
||||
field public static final String FEATURE_LEANBACK_ONLY = "android.software.leanback_only";
|
||||
field public static final String FEATURE_LIVE_TV = "android.software.live_tv";
|
||||
|
||||
@@ -3224,6 +3224,24 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_APP_ENUMERATION = "android.software.app_enumeration";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device has
|
||||
* a Keystore implementation that can only enforce limited use key in hardware with max usage
|
||||
* count equals to 1.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_KEYSTORE_SINGLE_USE_KEY =
|
||||
"android.hardware.keystore.single_use_key";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device has
|
||||
* a Keystore implementation that can enforce limited use key in hardware with any max usage
|
||||
* count (including count equals to 1).
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_KEYSTORE_LIMITED_USE_KEY =
|
||||
"android.hardware.keystore.limited_use_key";
|
||||
|
||||
/** @hide */
|
||||
public static final boolean APP_ENUMERATION_ENABLED_BY_DEFAULT = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user