HDMI: Add new DeviceConfig namespace for HDMI Control features

Add feature flag namespace string in DeviceConfig class.

Bug: 260193335
Test: make
Change-Id: I5539f373771eebd6a5b6dc91f57aa1aee902e246
This commit is contained in:
Paul Colta
2022-11-23 10:39:18 +01:00
parent e87964faa5
commit 93d190d65a
3 changed files with 10 additions and 0 deletions

View File

@@ -10556,6 +10556,7 @@ package android.provider {
field @Deprecated public static final String NAMESPACE_DEX_BOOT = "dex_boot";
field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager";
field public static final String NAMESPACE_GAME_DRIVER = "game_driver";
field public static final String NAMESPACE_HDMI_CONTROL = "hdmi_control";
field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot";
field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention";
field public static final String NAMESPACE_LMKD_NATIVE = "lmkd_native";

View File

@@ -261,6 +261,14 @@ public final class DeviceConfig {
@SystemApi
public static final String NAMESPACE_GAME_DRIVER = "game_driver";
/**
* Namespace for all HDMI Control features.
*
* @hide
*/
@SystemApi
public static final String NAMESPACE_HDMI_CONTROL = "hdmi_control";
/**
* Namespace for all input-related features that are used at the native level.
* These features are applied at reboot.

View File

@@ -104,6 +104,7 @@ public class SettingsToPropertiesMapper {
DeviceConfig.NAMESPACE_VIRTUALIZATION_FRAMEWORK_NATIVE,
DeviceConfig.NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT,
DeviceConfig.NAMESPACE_MEMORY_SAFETY_NATIVE,
DeviceConfig.NAMESPACE_HDMI_CONTROL
};
private final String[] mGlobalSettings;