Add FEATURE_DREAM_OVERLAY feature flag.

Bug: 213235276
Test: manual
Change-Id: I4228861e7bcb80274df1b2200bcebc56cb8f680f
This commit is contained in:
Darrell Shi
2022-01-04 13:51:33 -08:00
parent bd4a9f5806
commit 40330dfe5e

View File

@@ -4064,6 +4064,15 @@ public abstract class PackageManager {
@TestApi
public static final String FEATURE_COMMUNAL_MODE = "android.software.communal_mode";
/**
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}: The device
* supports dream overlay feature, which is an informational layer shown on top of dreams.
*
* @hide
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_DREAM_OVERLAY = "android.software.dream_overlay";
/** @hide */
public static final boolean APP_ENUMERATION_ENABLED_BY_DEFAULT = true;