From 7717287b2f1693d1561177014bad749a77697d21 Mon Sep 17 00:00:00 2001 From: wanghao1717 Date: Wed, 3 Sep 2025 10:00:47 +0800 Subject: [PATCH] update Signed-off-by: wanghao1717 --- systemres/main/module.json | 4 +++- systemres/main/resources/base/element/id_defined.json | 10 ++++++++++ systemres/main/resources/base/element/string.json | 8 ++++++++ systemres/main/resources/zh_CN/element/string.json | 8 ++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/systemres/main/module.json b/systemres/main/module.json index ad7b9584..2d7fff9c 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -6233,7 +6233,9 @@ "since": 21, "deprecated": "", "provisionEnable": true, - "distributedSceneEnable": false + "distributedSceneEnable": false, + "label": "$string:ohos_lab_hook_key_event", + "description": "$string:ohos_desc_hook_key_event" } ] } diff --git a/systemres/main/resources/base/element/id_defined.json b/systemres/main/resources/base/element/id_defined.json index c2cf1326..7adbe9f3 100644 --- a/systemres/main/resources/base/element/id_defined.json +++ b/systemres/main/resources/base/element/id_defined.json @@ -33274,6 +33274,16 @@ "type": "float", "name": "chip_activated_text_font_weight", "order": 6600 + }, + { + "type": "string", + "name": "ohos_lab_hook_key_event", + "order": 6601 + }, + { + "type": "string", + "name": "ohos_desc_hook_key_event", + "order": 6602 } ] } diff --git a/systemres/main/resources/base/element/string.json b/systemres/main/resources/base/element/string.json index 9a52d2f1..65fef587 100644 --- a/systemres/main/resources/base/element/string.json +++ b/systemres/main/resources/base/element/string.json @@ -2105,6 +2105,14 @@ { "name": "notification_enable_loud_volume_tittle", "value": "turned on" + }, + { + "name": "ohos_lab_hook_key_event", + "value": "Super High Volume" + }, + { + "name": "ohos_desc_hook_key_event", + "value": "turned on" } ] } diff --git a/systemres/main/resources/zh_CN/element/string.json b/systemres/main/resources/zh_CN/element/string.json index a0de11ae..dae454d1 100644 --- a/systemres/main/resources/zh_CN/element/string.json +++ b/systemres/main/resources/zh_CN/element/string.json @@ -1970,6 +1970,14 @@ { "name": "notification_enable_loud_volume_tittle", "value": "已开启" + }, + { + "name": "ohos_lab_hook_key_event", + "value": "按键事件拦截" + }, + { + "name": "ohos_desc_hook_key_event", + "value": "拦截系统按键事件" } ] } -- Gitee