diff --git a/ability/ability_runtime/abilitymontior/entry/src/main/module.json b/ability/ability_runtime/abilitymontior/entry/src/main/module.json index f5cda5bfa8510fc7353208936a4191a2bb79f29e..5b8c54438ddf2b235620149a0db2076ed45cdd5a 100644 --- a/ability/ability_runtime/abilitymontior/entry/src/main/module.json +++ b/ability/ability_runtime/abilitymontior/entry/src/main/module.json @@ -58,6 +58,12 @@ "visible": true, "launchType": "singleton" } + ], + "reqPermissions": [ + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + } ] } } \ No newline at end of file diff --git a/ability/ability_runtime/actsqueryfunctiontest/actsgetabilitystatestagetest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetabilitystatestagetest/entry/src/main/module.json index a8779c99a35f86d0fe682bebc3f05922edee2ce3..016bc0c7ea3c32ebcd7da7cf852aa422ec7c5a24 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetabilitystatestagetest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetabilitystatestagetest/entry/src/main/module.json @@ -53,6 +53,16 @@ "icon": "$media:icon", "label": "$string:MainAbility4_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/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/module.json index 4130395f9b9fb4787e299ae0ee0e3d9bc58c41fd..b133b9b2c61754527a71037d14a729bda271fe74 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstageatest/entry/src/main/module.json @@ -41,6 +41,16 @@ "visible": true, "launchType": "singleton" } + ], + "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/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/module.json index 4130395f9b9fb4787e299ae0ee0e3d9bc58c41fd..b133b9b2c61754527a71037d14a729bda271fe74 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontextstagebtest/entry/src/main/module.json @@ -41,6 +41,16 @@ "visible": true, "launchType": "singleton" } + ], + "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/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/module.json index 4130395f9b9fb4787e299ae0ee0e3d9bc58c41fd..b133b9b2c61754527a71037d14a729bda271fe74 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetappcontexttest/entry/src/main/module.json @@ -41,6 +41,16 @@ "visible": true, "launchType": "singleton" } + ], + "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/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/module.json index fe9e3ab7c2cf97d85eab89937b7663c227d3eb34..bb5f5ad37fe40513d59519ef09ccb14dcac6077f 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystageatest/entry/src/main/module.json @@ -46,6 +46,16 @@ "icon": "$media:icon", "label": "$string:Ability2_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/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/module.json b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/module.json index fe9e3ab7c2cf97d85eab89937b7663c227d3eb34..bb5f5ad37fe40513d59519ef09ccb14dcac6077f 100644 --- a/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/module.json +++ b/ability/ability_runtime/actsqueryfunctiontest/actsgetcurrenttopabilitystagebtest/entry/src/main/module.json @@ -46,6 +46,16 @@ "icon": "$media:icon", "label": "$string:Ability2_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/actssupportfunction/actsonandoffscreentest/entry/src/main/module.json b/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/module.json index 8bbef22e51d17149acb2a3bc06604361c121431a..9e7e972189a4f91c74dc31c157231a46a9bebdd2 100644 --- a/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/module.json +++ b/ability/ability_runtime/actssupportfunction/actsonandoffscreentest/entry/src/main/module.json @@ -34,6 +34,16 @@ } ] } + ], + "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/actssupportfunction/actssupportfunctiontest/entry/src/main/module.json b/ability/ability_runtime/actssupportfunction/actssupportfunctiontest/entry/src/main/module.json index 8bbef22e51d17149acb2a3bc06604361c121431a..9e7e972189a4f91c74dc31c157231a46a9bebdd2 100644 --- a/ability/ability_runtime/actssupportfunction/actssupportfunctiontest/entry/src/main/module.json +++ b/ability/ability_runtime/actssupportfunction/actssupportfunctiontest/entry/src/main/module.json @@ -34,6 +34,16 @@ } ] } + ], + "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/apitest/entry/src/main/module.json b/ability/ability_runtime/apitest/entry/src/main/module.json index 6bae42d73033f74fe59824f0bdec3bd6e92d8486..6f05c3a340960e71fcd6aad007c850d7eda43c5e 100644 --- a/ability/ability_runtime/apitest/entry/src/main/module.json +++ b/ability/ability_runtime/apitest/entry/src/main/module.json @@ -61,6 +61,12 @@ "icon": "$media:icon", "label": "$string:MainAbility5_label" } + ], + "requestPermissions": [ + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + } ] } } \ No newline at end of file diff --git a/ability/ability_runtime/fa/faapplicationinfo/src/main/config.json b/ability/ability_runtime/fa/faapplicationinfo/src/main/config.json index ca9fcbc92d5e990c2e928fa02f0903b37fd0d01a..809a16a826618608bb531fb722c304efe961f49c 100644 --- a/ability/ability_runtime/fa/faapplicationinfo/src/main/config.json +++ b/ability/ability_runtime/fa/faapplicationinfo/src/main/config.json @@ -112,6 +112,12 @@ "testRunner": { "name": "OpenHarmonyTestRunner", "srcPath": "TestRunner" - } + }, + "reqPermissions": [ + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" + } + ] } } \ No newline at end of file diff --git a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json index 4829db57c8beafa9f7a51a411a353197acbf3ac4..7855c62d83ed768c0e81eb13784b61a57673cc00 100644 --- a/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json +++ b/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/config.json @@ -121,6 +121,10 @@ { "name": "ohos.permission.ACCELEROMETER", "reason":"need use ohos.permission.ACCELEROMETER" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND", + "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" } ], "js": [ diff --git a/ability/ability_runtime/stage/actslifecyclemultihaptest/entry/src/main/module.json b/ability/ability_runtime/stage/actslifecyclemultihaptest/entry/src/main/module.json index b2a1749da88ed99a65c7bd6e56f29745c8b45176..9debd3186d5d4c373be0e3f9dd79c796c28d1efb 100644 --- a/ability/ability_runtime/stage/actslifecyclemultihaptest/entry/src/main/module.json +++ b/ability/ability_runtime/stage/actslifecyclemultihaptest/entry/src/main/module.json @@ -100,6 +100,12 @@ }, { "name": "ohos.permission.LISTEN_BUNDLE_CHANGE" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/module.json b/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/module.json index 52411d94f2f676054edf3ae4be231530026e943c..3b8ae80345e69875b506d8a130565661b4bc8d25 100644 --- a/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/module.json +++ b/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/module.json @@ -132,6 +132,16 @@ "description": "$string:MainAbility12_desc", "icon": "$media:icon", "label": "$string:MainAbility12_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" + } + ] } } diff --git a/ability/ability_runtime/stage/actswindowstagelifecyclemultihaptest/entry/src/main/module.json b/ability/ability_runtime/stage/actswindowstagelifecyclemultihaptest/entry/src/main/module.json index b2a1749da88ed99a65c7bd6e56f29745c8b45176..9debd3186d5d4c373be0e3f9dd79c796c28d1efb 100755 --- a/ability/ability_runtime/stage/actswindowstagelifecyclemultihaptest/entry/src/main/module.json +++ b/ability/ability_runtime/stage/actswindowstagelifecyclemultihaptest/entry/src/main/module.json @@ -100,6 +100,12 @@ }, { "name": "ohos.permission.LISTEN_BUNDLE_CHANGE" + }, + { + "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name":"ohos.permission.START_INVISIBLE_ABILITY" } ] } diff --git a/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/module.json b/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/module.json index acbdfcd9d999e14c2c802796fa8d5426daa67a8d..d52d9d79fce2139e4b742501181de1b6483d3c6a 100755 --- a/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/module.json +++ b/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/module.json @@ -132,6 +132,16 @@ "description": "$string:MainAbility12_desc", "icon": "$media:icon", "label": "$string:MainAbility12_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" + } + ] } }