From c45cb706ff191f9b70550e9b99036279c390b747 Mon Sep 17 00:00:00 2001 From: Rupesh Bansal Date: Tue, 16 Aug 2022 16:23:56 +0000 Subject: [PATCH] Moving autobrightness display configs to a different file Currently, all the display configs are controlled from display_device_config.xsd file. This has led to a lot of configs being controlled from this single source, making it error prone and less readable. This is to decouple that, and move the autobrightness related display configs to a separate file. We choose to move autobrightness configs because we soon plan to add more configs to this. Bug: 235345267 Test: atest DisplayDeviceConfigTest#testConfigValues Change-Id: Ia3ba1065663f478ffcb6f4ea5951958352679f76 --- .../display-device-config/autobrightness.xsd | 33 +++++++++++++++++++ .../display-device-config.xsd | 17 +--------- 2 files changed, 34 insertions(+), 16 deletions(-) create mode 100644 services/core/xsd/display-device-config/autobrightness.xsd diff --git a/services/core/xsd/display-device-config/autobrightness.xsd b/services/core/xsd/display-device-config/autobrightness.xsd new file mode 100644 index 0000000000000..477625a36cbd0 --- /dev/null +++ b/services/core/xsd/display-device-config/autobrightness.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/services/core/xsd/display-device-config/display-device-config.xsd b/services/core/xsd/display-device-config/display-device-config.xsd index 073b131cc8192..bea5e2c2de748 100644 --- a/services/core/xsd/display-device-config/display-device-config.xsd +++ b/services/core/xsd/display-device-config/display-device-config.xsd @@ -23,6 +23,7 @@ + @@ -102,22 +103,6 @@ - - - - - - - - - - - - - -