未验证 提交 5decc6bc 编写于 作者: O openharmony_ci 提交者: Gitee

!7366 xts-签名文件增加启动管控权限

Merge pull request !7366 from chengxingzhen/monthly_20221018
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
} }
] ]
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
} }
] ]
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
} }
] ]
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -59,6 +59,12 @@ ...@@ -59,6 +59,12 @@
"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"
}
] ]
} }
} }
\ No newline at end of file
...@@ -36,14 +36,10 @@ ...@@ -36,14 +36,10 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{ {
"name":"ohos.permission.GET_BUNDLE_INFO", "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.GET_BUNDLE_INFO" "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}, }
{ ]
"name":"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason":"need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
}
]
} }
} }
...@@ -53,6 +53,12 @@ ...@@ -53,6 +53,12 @@
"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"
}
] ]
} }
} }
\ No newline at end of file
...@@ -35,6 +35,12 @@ ...@@ -35,6 +35,12 @@
} }
] ]
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.MANAGE_MISSIONS", "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason": "need use ohos.permission.MANAGE_MISSIONS" "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -95,7 +95,10 @@ ...@@ -95,7 +95,10 @@
"name":"ohos.permission.UPDATE_CONFIGURATION" "name":"ohos.permission.UPDATE_CONFIGURATION"
}, },
{ {
"name":"ohos.permission.GET_RUNNING_INFO" "name": "ohos.permission.GET_RUNNING_INFO"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
] ]
} }
......
...@@ -99,6 +99,10 @@ ...@@ -99,6 +99,10 @@
}, },
{ {
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING" "name": "ohos.permission.KEEP_BACKGROUND_RUNNING"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
} }
], ],
"js": [ "js": [
......
...@@ -118,6 +118,10 @@ ...@@ -118,6 +118,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": [
......
...@@ -117,6 +117,10 @@ ...@@ -117,6 +117,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": [
......
...@@ -135,6 +135,10 @@ ...@@ -135,6 +135,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": [
......
...@@ -116,6 +116,10 @@ ...@@ -116,6 +116,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": [
......
...@@ -124,6 +124,10 @@ ...@@ -124,6 +124,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": [
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,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": [
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,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": [
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,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": [
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,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": [
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,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": [
......
...@@ -142,6 +142,10 @@ ...@@ -142,6 +142,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": [
......
...@@ -35,7 +35,6 @@ const unsubscribeCallback = (tcNumber) => { ...@@ -35,7 +35,6 @@ const unsubscribeCallback = (tcNumber) => {
const unsubscribeOnDeletedCallback = (tcNumber, done) => { const unsubscribeOnDeletedCallback = (tcNumber, done) => {
console.info(`${tcNumber} unsubscribeOnDeleted Callback`); console.info(`${tcNumber} unsubscribeOnDeleted Callback`);
done();
} }
const unsubscribeOnAcquiredCallback = (tcNumber) => { const unsubscribeOnAcquiredCallback = (tcNumber) => {
console.info(`${tcNumber} unsubscribeOnAcquired Callback`); console.info(`${tcNumber} unsubscribeOnAcquired Callback`);
......
...@@ -135,6 +135,10 @@ ...@@ -135,6 +135,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": [
......
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.GET_BUNDLE_INFO" "reason": "need use ohos.permission.GET_BUNDLE_INFO"
},
{
"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.
先完成此消息的编辑!
想要评论请 注册