Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17525b61 authored by Calvin Huang's avatar Calvin Huang
Browse files

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
parent 41d73671
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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