Merge "Add feature flag for Android automotive OS templates host" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-13 00:09:56 +00:00
committed by Android (Google) Code Review

View File

@@ -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