Add Neary feature to PackageManager

Bug: 203579197
Test: Trivial
Change-Id: I27e6d77432c4d85d7812f4382be262ec1c918ee5
This commit is contained in:
Xinyi Zhou
2021-11-03 16:22:07 -07:00
parent 20b209089d
commit cd4d899f82

View File

@@ -3628,6 +3628,14 @@ public abstract class PackageManager {
*/
public static final String FEATURE_MANAGED_PROFILES = "android.software.managed_users";
/**
* @hide
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
* The device supports Nearby mainline feature.
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_NEARBY = "android.software.nearby";
/**
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
* The device supports verified boot.