Add system feature for car splitscreen multitasking

Bug: 280394553
Test: atest android.app.cts.SystemFeaturesTest#testFeatureNamespaces
Change-Id: I63024850214a99069c839c7683acfdcbbc87185e
This commit is contained in:
Calvin Huang
2023-05-18 18:59:54 +00:00
parent e546f6af3a
commit 05bcbd6a56

View File

@@ -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