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

Commit f3430508 authored by Saeid Farivar Asanjan's avatar Saeid Farivar Asanjan
Browse files

Add display compat system feature to PackageManager

Bug: 300642384
Test: atest-src CtsAppTestCases:android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: I1c01965764e308491e0f064f0d3e1129c66101bb
parent 6e38a9d3
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -3261,6 +3261,16 @@ public abstract class PackageManager {
    public static final String FEATURE_CAR_SPLITSCREEN_MULTITASKING =
    public static final String FEATURE_CAR_SPLITSCREEN_MULTITASKING =
            "android.software.car.splitscreen_multitasking";
            "android.software.car.splitscreen_multitasking";


    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: This device is capable of launching apps in automotive display
     * compatibility mode.
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_CAR_DISPLAY_COMPATIBILITY =
            "android.software.car.display_compatibility";

    /**
    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature(String, int)}: If this feature is supported, the device supports
     * {@link #hasSystemFeature(String, int)}: If this feature is supported, the device supports