From 3fb2ea9084df5ec1f381ec33e60a7a544dee0ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E6=98=AF=E9=93=B8=E5=B8=81=E6=8D=8F?= Date: Mon, 7 Jul 2025 16:49:10 +0800 Subject: [PATCH 1/3] add permission MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 就是铸币捏 --- systemres/main/module.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/systemres/main/module.json b/systemres/main/module.json index f9c1461e..237c7c35 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -5928,6 +5928,24 @@ "deprecated": "", "provisionEnable": false, "distributedSceneEnable": false + }, + { + "name": "ohos.permission.ON_SCREEN_GET_CONTENT", + "grantMode": "system_grant", + "availableLevel": "normal", + "since": 20, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false + }, + { + "name": "ohos.permission.ON_SCREEN_CONTROL", + "grantMode": "system_grant", + "availableLevel": "normal", + "since": 20, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false } ] } -- Gitee From 8b6a9bc9aaa20abb5d8896eb8b44016b2e86f525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E6=98=AF=E9=93=B8=E5=B8=81=E6=8D=8F?= Date: Tue, 8 Jul 2025 10:26:15 +0800 Subject: [PATCH 2/3] fix permission name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 就是铸币捏 --- systemres/main/module.json | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/systemres/main/module.json b/systemres/main/module.json index 237c7c35..602c0bfe 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -5930,18 +5930,9 @@ "distributedSceneEnable": false }, { - "name": "ohos.permission.ON_SCREEN_GET_CONTENT", + "name": "ohos.permission.GET_SCREEN_CONTENT", "grantMode": "system_grant", - "availableLevel": "normal", - "since": 20, - "deprecated": "", - "provisionEnable": true, - "distributedSceneEnable": false - }, - { - "name": "ohos.permission.ON_SCREEN_CONTROL", - "grantMode": "system_grant", - "availableLevel": "normal", + "availableLevel": "system_basic", "since": 20, "deprecated": "", "provisionEnable": true, -- Gitee From 5963d227c6e998e2b22b399615a9ab6ced827d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E6=98=AF=E9=93=B8=E5=B8=81=E6=8D=8F?= Date: Tue, 8 Jul 2025 16:03:50 +0800 Subject: [PATCH 3/3] fix permission name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 就是铸币捏 --- systemres/main/module.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/systemres/main/module.json b/systemres/main/module.json index 602c0bfe..6f1fb832 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -5932,7 +5932,16 @@ { "name": "ohos.permission.GET_SCREEN_CONTENT", "grantMode": "system_grant", - "availableLevel": "system_basic", + "availableLevel": "system_core", + "since": 20, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false + }, + { + "name": "ohos.permission.SIMULATE_USER_INPUT", + "grantMode": "system_grant", + "availableLevel": "system_core", "since": 20, "deprecated": "", "provisionEnable": true, -- Gitee