diff --git a/systemres/main/module.json b/systemres/main/module.json index ad7b9584d6da7e4cd2fd7b9c1baf66bef230634d..2d7fff9c78523d9f282bfb91cd3089d924d2c9b2 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 c2cf1326621b37c7435e4faa704764ae231b41e0..7adbe9f3664e35b91e3cfec417fbe10a72a0aedf 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 9a52d2f1f24a60c29e1516137287968f875044b5..65fef5878530526c0afd99c86dd01a6aacd9d14a 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 a0de11ae34879d176b29c85e4f01215427c1650c..dae454d139b942a2f0fd993dce77af780ca5ea9a 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": "拦截系统按键事件" } ] }