Skip to content

Commit 7843e5e

Browse files
committed
fix: correct ddcci config structure
1. Moved the "global" property into the "flags" array for both supportDdcci and isBacklightHelperHold settings 2. Removed the standalone "global": true key to comply with the correct DSG config schema 3. This ensures the configuration is properly parsed and applied globally as intended Log: Fixed DDC/CI brightness configuration format to ensure proper global application Influence: 1. Verify that DDC/CI brightness control is correctly recognized as a global setting in the system configuration 2. Test adjusting external monitor brightness to ensure DDC/CI support is enabled as expected 3. Check if the backlight helper process hold setting is correctly applied globally fix: 更正ddcci配置结构 1. 将 supportDdcci 和 isBacklightHelperHold 设置项的 global 属性移至 flags 数组中 2. 移除了独立的 global: true 键,以符合正确的 DSG 配置架构规范 3. 这确保了配置能被正确解析,并按预期全局生效 Log: 修复DDC/CI亮度配置格式,确保其正确全局生效 Influence: 1. 验证 DDC/CI 亮度控制是否在系统配置中被正确识别为全局设置 2. 测试调节外接显示器亮度,确保 DDC/CI 支持按预期启用 3. 检查亮度调节驻留设置是否正确全局应用 PMS: BUG-363673 Change-Id: I8e0262761ba6ef16b15728877c644ef5b82c276b
1 parent 2f15f14 commit 7843e5e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

misc/dsg-configs/org.deepin.dde.daemon.brightness.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"supportDdcci": {
66
"value": false,
77
"serial": 0,
8-
"flags": [],
9-
"global": true,
8+
"flags": ["global"],
109
"name": "SupportDdcci",
1110
"name[zh_CN]": "支持ddcci亮度调节",
1211
"description": "brightness ddcci support",
@@ -16,8 +15,7 @@
1615
"isBacklightHelperHold": {
1716
"value": false,
1817
"serial": 0,
19-
"flags": [],
20-
"global": true,
18+
"flags": ["global"],
2119
"name": "IsBacklightHelperHold",
2220
"name[zh_CN]": "亮度调节是否驻留",
2321
"description": "config backlight-helper progress hold",

0 commit comments

Comments
 (0)