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

Commit 05bcbd6a authored by Calvin Huang's avatar Calvin Huang
Browse files

Add system feature for car splitscreen multitasking

Bug: 280394553
Test: atest android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: I63024850214a99069c839c7683acfdcbbc87185e
parent e546f6af
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -2882,6 +2882,20 @@ public abstract class PackageManager {
    public static final String FEATURE_CAR_TEMPLATES_HOST =
            "android.software.car.templates_host";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:If this
     * feature is supported, the device should also declare {@link #FEATURE_AUTOMOTIVE} and show
     * a UI that can display multiple tasks at the same time on a single display. The user can
     * perform multiple actions on different tasks simultaneously. Apps open in split screen mode
     * by default, instead of full screen. Unlike Android's multi-window mode, where users can
     * choose how to display apps, the device determines how apps are shown.
     *
     * @hide
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_CAR_SPLITSCREEN_MULTITASKING =
            "android.software.car.splitscreen_multitasking";

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