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

Commit 90e258ba authored by Sam Lin's avatar Sam Lin
Browse files

Add a feature flag for CTS.

Bug: 36599543
Test: Build sailfish and CTS
Test: run cts -o -m CtsAppTestCases -t android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: I659ddbe7d6e2d8762d97b8a418cfc246f7a97a3e
parent 359ce109
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1688,6 +1688,10 @@ public abstract class PackageManager {
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_CONSUMER_IR = "android.hardware.consumerir";

    /** {@hide} */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_CTS = "android.software.cts";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: The device supports one or more methods of