Add feature flag for Android automotive OS templates host
Bug: 204165454 Fix: 204165454 Test: Build gcar_emu_x86_64-userdebug then run \ android.app.cts.SystemFeaturesTest#testFeatureNamespaces Change-Id: I77f817ae02e581e010cdd7eb3ee9e4d1c1bb8e37
This commit is contained in:
@@ -2473,6 +2473,16 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_CTS = "android.software.cts";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
|
||||
* is opted-in to render the application using Automotive App Host
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_CAR_TEMPLATES_HOST =
|
||||
"android.software.car.templates_host";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature(String, int)}: If this feature is supported, the device supports
|
||||
|
||||
Reference in New Issue
Block a user