提交 831ed20c 编写于 作者: H HuangXW

启动管控适配

Change-Id: I96487de88bb1c83c23f3c6923d3a340323356340
Signed-off-by: NHuangXW <huangxinwei4@huawei.com>
上级 ca92b0b5
...@@ -58,6 +58,12 @@ ...@@ -58,6 +58,12 @@
"visible": true, "visible": true,
"launchType": "singleton" "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
...@@ -53,6 +53,16 @@ ...@@ -53,6 +53,16 @@
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:MainAbility4_label" "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
...@@ -41,6 +41,16 @@ ...@@ -41,6 +41,16 @@
"visible": true, "visible": true,
"launchType": "singleton" "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
...@@ -41,6 +41,16 @@ ...@@ -41,6 +41,16 @@
"visible": true, "visible": true,
"launchType": "singleton" "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
...@@ -41,6 +41,16 @@ ...@@ -41,6 +41,16 @@
"visible": true, "visible": true,
"launchType": "singleton" "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
...@@ -46,6 +46,16 @@ ...@@ -46,6 +46,16 @@
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:Ability2_label" "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
...@@ -46,6 +46,16 @@ ...@@ -46,6 +46,16 @@
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:Ability2_label" "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
...@@ -34,6 +34,16 @@ ...@@ -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
...@@ -34,6 +34,16 @@ ...@@ -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
...@@ -61,6 +61,12 @@ ...@@ -61,6 +61,12 @@
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:MainAbility5_label" "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
...@@ -112,6 +112,12 @@ ...@@ -112,6 +112,12 @@
"testRunner": { "testRunner": {
"name": "OpenHarmonyTestRunner", "name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner" "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
...@@ -121,6 +121,10 @@ ...@@ -121,6 +121,10 @@
{ {
"name": "ohos.permission.ACCELEROMETER", "name": "ohos.permission.ACCELEROMETER",
"reason":"need use 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": [ "js": [
......
...@@ -100,6 +100,12 @@ ...@@ -100,6 +100,12 @@
}, },
{ {
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE" "name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name":"ohos.permission.START_INVISIBLE_ABILITY"
} }
] ]
} }
......
...@@ -132,6 +132,16 @@ ...@@ -132,6 +132,16 @@
"description": "$string:MainAbility12_desc", "description": "$string:MainAbility12_desc",
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:MainAbility12_label" "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"
}
]
} }
} }
...@@ -100,6 +100,12 @@ ...@@ -100,6 +100,12 @@
}, },
{ {
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE" "name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name":"ohos.permission.START_INVISIBLE_ABILITY"
} }
] ]
} }
......
...@@ -132,6 +132,16 @@ ...@@ -132,6 +132,16 @@
"description": "$string:MainAbility12_desc", "description": "$string:MainAbility12_desc",
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:MainAbility12_label" "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"
}
]
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册