From 7710bb2d22cd00cbc7761b795661501a47419fcd Mon Sep 17 00:00:00 2001 From: HuangXW Date: Fri, 23 Sep 2022 15:09:51 +0800 Subject: [PATCH] =?UTF-8?q?XTS=E9=80=82=E9=85=8D=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=AE=A1=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I50dc693ca090a8e043204f258b48eb311482a014 Signed-off-by: HuangXW --- .../actsabilityusertest/entry/src/main/module.json | 10 ++++++++++ .../ActsAmsUsersSystemTest/entry/src/main/module.json | 8 ++++++++ .../entry/src/main/module.json | 8 ++++++++ .../actsamsstartabilitytest/entry/src/main/module.json | 8 ++++++++ .../apicoverhaptest/entry/src/main/module.json | 6 ++++++ .../entry/src/main/config.json | 4 ++++ .../entry/src/main/module.json | 8 ++++++++ .../acts_systemappa_test/entry/src/main/module.json | 10 +++++++++- 8 files changed, 61 insertions(+), 1 deletion(-) diff --git a/ability/ability_runtime/actsabilityusertest/entry/src/main/module.json b/ability/ability_runtime/actsabilityusertest/entry/src/main/module.json index 4085e71d2..efb470686 100644 --- a/ability/ability_runtime/actsabilityusertest/entry/src/main/module.json +++ b/ability/ability_runtime/actsabilityusertest/entry/src/main/module.json @@ -46,6 +46,16 @@ "icon": "$media:icon", "label": "$string:MainAbility3_label" } + ], + "requestPermissions": [ + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" + } ] } } \ No newline at end of file diff --git a/ability/ability_runtime/actsusers/ActsAmsUsersSystemTest/entry/src/main/module.json b/ability/ability_runtime/actsusers/ActsAmsUsersSystemTest/entry/src/main/module.json index 9cae7b176..423ef3b33 100644 --- a/ability/ability_runtime/actsusers/ActsAmsUsersSystemTest/entry/src/main/module.json +++ b/ability/ability_runtime/actsusers/ActsAmsUsersSystemTest/entry/src/main/module.json @@ -114,6 +114,14 @@ { "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION", "reason": "need use ohos.permission.MANAGE_LOCAL_ACCOUNTS" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/module.json b/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/module.json index e03188518..2845ceca7 100644 --- a/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/module.json +++ b/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilityforresulttest/entry/src/main/module.json @@ -92,6 +92,14 @@ { "name": "ohos.permission.GET_RUNNING_INFO", "reason": "need use ohos.permission.GET_RUNNING_INFO" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/module.json b/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/module.json index ccdf974f4..dad64091f 100644 --- a/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/module.json +++ b/ability/ability_runtime/amsdisplayIdtest/actsamsstartabilitytest/entry/src/main/module.json @@ -73,6 +73,14 @@ { "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES", "reason": "need use ohos.permission.GET_RUNNING_INFO" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/module.json b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/module.json index bbe5d394a..ba1944e41 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/module.json +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/module.json @@ -88,6 +88,12 @@ }, { "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/config.json b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/config.json index 20f4b2c2a..300b02a26 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/config.json +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/config.json @@ -145,6 +145,10 @@ { "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" } ], "js": [ diff --git a/ability/ability_runtime/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/module.json b/ability/ability_runtime/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/module.json index fd1246168..c8070f61d 100644 --- a/ability/ability_runtime/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/module.json +++ b/ability/ability_runtime/killprocesswithaccountstage/ActsKillProcessWithAccountTest/entry/src/main/module.json @@ -70,6 +70,14 @@ { "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "reason":"need use ohos.permission.GET_RUNNING_INFO" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/non_concurrent/acts_systemappa_test/entry/src/main/module.json b/ability/ability_runtime/non_concurrent/acts_systemappa_test/entry/src/main/module.json index c8dcd29a0..2dd55ad32 100644 --- a/ability/ability_runtime/non_concurrent/acts_systemappa_test/entry/src/main/module.json +++ b/ability/ability_runtime/non_concurrent/acts_systemappa_test/entry/src/main/module.json @@ -115,7 +115,15 @@ { "name":"ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", "reason":"need use ohos.permission.GET_RUNNING_INFO" - } + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY", + "reason":"need use ohos.permission.START_INVISIBLE_ABILITY" + } ] } } -- GitLab