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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16215805

Change-Id: I87cc82f541f7959782fe668c0e2fdc15b9a218c9
This commit is contained in:
TreeHugger Robot
2021-11-13 00:22:05 +00:00
committed by Automerger Merge Worker

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