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

Commit f45eba3e authored by Roma Modi's avatar Roma Modi
Browse files

Add CAL Media feature to PackageManager

Bug: 410169507
Test: atest CtsAppTestCases:android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Flag: EXEMPT - bug fix

Change-Id: I075cb670837aa03e24592f2008c99ed049f4c151
parent 59256ba5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3353,6 +3353,16 @@ public abstract class PackageManager {
    public static final String FEATURE_CAR_TEMPLATES_HOST =
            "android.software.car.templates_host";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
     * is opted-in to render the application using Automotive App Host for Media
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_CAR_TEMPLATES_HOST_MEDIA =
            "android.software.car.templates_host.media";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:If this
     * feature is supported, the device should also declare {@link #FEATURE_AUTOMOTIVE} and show