提交 44ff7c92 编写于 作者: H HuangXW

Description: xts用例适配后台启动规则限制

Sig:SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source:No
TDD Result: 不涉及
XTS Result: PASS

Change-Id: I704eb6b8d69f548190d5d1573e2b3002ef0c0876
Signed-off-by: NHuangXW <huangxinwei4@huawei.com>
上级 1fc61227
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -114,6 +114,10 @@ ...@@ -114,6 +114,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -77,6 +77,10 @@ ...@@ -77,6 +77,10 @@
{ {
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE", "name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE" "reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -133,6 +133,10 @@ ...@@ -133,6 +133,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -132,6 +132,10 @@ ...@@ -132,6 +132,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -154,6 +154,10 @@ ...@@ -154,6 +154,10 @@
{ {
"name": "ohos.permission.SET_TIME", "name": "ohos.permission.SET_TIME",
"reason": "need use ohos.permission.SET_TIME" "reason": "need use ohos.permission.SET_TIME"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -131,6 +131,10 @@ ...@@ -131,6 +131,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -139,6 +139,10 @@ ...@@ -139,6 +139,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -141,6 +141,10 @@ ...@@ -141,6 +141,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -160,6 +160,10 @@ ...@@ -160,6 +160,10 @@
}, },
{ {
"name": "ohos.permission.CLEAN_APPLICATION_DATA" "name": "ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -150,6 +150,10 @@ ...@@ -150,6 +150,10 @@
{ {
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -69,6 +69,10 @@ ...@@ -69,6 +69,10 @@
{ {
"name":"ohos.permission.INSTALL_BUNDLE", "name":"ohos.permission.INSTALL_BUNDLE",
"reason":"need use ohos.permission.INSTALL_BUNDLE" "reason":"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
{ {
"name":"ohos.permission.INSTALL_BUNDLE", "name":"ohos.permission.INSTALL_BUNDLE",
"reason":"need use ohos.permission.INSTALL_BUNDLE" "reason":"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
......
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
{ {
"name":"ohos.permission.INSTALL_BUNDLE", "name":"ohos.permission.INSTALL_BUNDLE",
"reason":"need use ohos.permission.INSTALL_BUNDLE" "reason":"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
......
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
{ {
"name":"ohos.permission.INSTALL_BUNDLE", "name":"ohos.permission.INSTALL_BUNDLE",
"reason":"need use ohos.permission.INSTALL_BUNDLE" "reason":"need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
......
...@@ -562,7 +562,7 @@ export default function abilityTest() { ...@@ -562,7 +562,7 @@ export default function abilityTest() {
+ JSON.stringify(error) + ", " + JSON.stringify(data)) + JSON.stringify(error) + ", " + JSON.stringify(data))
}) })
function SubscribeCallBack(err, data) { function SubscribeCallBack(err, data) {
console.debug("ACTS_NewWant_Test_0800====>Subscribe CallBack data:====>" console.debug("ACTS_NewWant_Test_0800====>Subscribe CallBack data:====>"
......
...@@ -73,6 +73,10 @@ ...@@ -73,6 +73,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
......
...@@ -73,6 +73,10 @@ ...@@ -73,6 +73,10 @@
{ {
"name":"ohos.permission.CLEAN_APPLICATION_DATA", "name":"ohos.permission.CLEAN_APPLICATION_DATA",
"reason":"need use ohos.permission.CLEAN_APPLICATION_DATA" "reason":"need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册