Signed-off-by: wuxiaodan <wuxiaodan5@huawei-partners.com>
This commit is contained in:
wuxiaodan 2024-11-14 16:48:53 +08:00
parent 71e9fc4fcd
commit 312afc0f51
10 changed files with 44 additions and 25 deletions

View File

@ -50,28 +50,28 @@
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}

View File

@ -23,6 +23,10 @@
{
"name": "TestAbility_label",
"value": "label"
},
{
"name": "perssion_reason",
"value": "reason"
}

View File

@ -74,28 +74,28 @@
"reqPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}

View File

@ -23,8 +23,11 @@
{
"name": "TestAbility_label",
"value": "label"
},
{
"name": "perssion_reason",
"value": "reason"
}
]
}

View File

@ -53,35 +53,35 @@
"requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}

View File

@ -35,6 +35,10 @@
{
"name": "MainAbility9_label",
"value": "label"
},
{
"name": "perssion_reason",
"value": "reason"
}
]
}

View File

@ -48,28 +48,28 @@
"requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}

View File

@ -87,6 +87,10 @@
{
"name": "MainAbility7_label",
"value": "label"
},
{
"name": "perssion_reason",
"value": "reason"
}
]
}

View File

@ -53,35 +53,35 @@
"requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.GET_DISTRIBUTED_DEVICE_INFO",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}
},
{
"name": "ohos.permission.KEEP_BACKGROUND_RUNNING",
"reason":"perssion_reason",
"reason":"$string:perssion_reason",
"usedScene":{
"when":"inuse"
}

View File

@ -35,6 +35,10 @@
{
"name": "MainAbility9_label",
"value": "label"
},
{
"name": "perssion_reason",
"value": "reason"
}
]
}