Merge "Add Neary feature to PackageManager"

This commit is contained in:
Xinyi Zhou
2021-12-07 19:07:47 +00:00
committed by Android (Google) Code Review

View File

@@ -3650,6 +3650,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.