截屏新增tablet设备类型 & START_ABILITIES_FROM_BACKGROUND权限

Signed-off-by: shenglili <shengli9@huawei.com>
This commit is contained in:
shenglili 2022-11-15 16:34:51 +08:00
parent 6005118f90
commit 37c6803adf
3 changed files with 14 additions and 5 deletions

View File

@ -1,10 +1,11 @@
{
{
"module": {
"package": "com.ohos.screenshot",
"name": "common",
"type": "har",
"deviceTypes": [
"phone"
"default",
"tablet"
],
"uiSyntax": "ets"
}
}

View File

@ -3,7 +3,8 @@
"name": "screenshot",
"type": "har",
"deviceTypes": [
"phone",
"default",
"tablet"
],
"uiSyntax": "ets"
}

View File

@ -6,7 +6,8 @@
"description": "$string:mainability_description",
"mainElement": "com.ohos.screenshot.ServiceExtAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
@ -55,6 +56,12 @@
},
{
"name": "ohos.permission.CAPTURE_SCREEN"
},
{
"name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
]
}