mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-10-07 05:33:37 +00:00
Reason for modifying application permission
Signed-off-by: qp <qinping8@huawei.com>
This commit is contained in:
parent
d04e1b9819
commit
8c30059e3d
@ -50,7 +50,6 @@ export struct MyNoteHomeComp {
|
||||
|
||||
let permissionList: Array<string> = [
|
||||
"ohos.permission.READ_MEDIA",
|
||||
"ohos.permission.WRITE_MEDIA",
|
||||
"ohos.permission.MEDIA_LOCATION",
|
||||
"ohos.permission.DISTRIBUTED_DATASYNC"
|
||||
]
|
||||
|
@ -25,16 +25,16 @@
|
||||
],
|
||||
"requestPermissions": [
|
||||
{
|
||||
"name": "ohos.permission.READ_MEDIA"
|
||||
"name": "ohos.permission.READ_MEDIA",
|
||||
"reason": "$string:read_media_permission"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.WRITE_MEDIA"
|
||||
"name": "ohos.permission.MEDIA_LOCATION",
|
||||
"reason": "$string:media_location_permission"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.MEDIA_LOCATION"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.DISTRIBUTED_DATASYNC"
|
||||
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
|
||||
"reason": "$string:distributed_dataSync_permission"
|
||||
},
|
||||
],
|
||||
"deliveryWithInstall": true,
|
||||
|
16
product/phone/src/main/resources/base/element/string.json
Normal file
16
product/phone/src/main/resources/base/element/string.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"string": [
|
||||
{
|
||||
"name": "read_media_permission",
|
||||
"value": "Used to read media file information in external storage of users"
|
||||
},
|
||||
{
|
||||
"name": "media_location_permission",
|
||||
"value": "Used for memo access to geographic location information in user media files"
|
||||
},
|
||||
{
|
||||
"name": "distributed_dataSync_permission",
|
||||
"value": "Used for memo data exchange between different equipment"
|
||||
}
|
||||
]
|
||||
}
|
16
product/phone/src/main/resources/zh_CN/element/string.json
Normal file
16
product/phone/src/main/resources/zh_CN/element/string.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"string": [
|
||||
{
|
||||
"name": "read_media_permission",
|
||||
"value": "用于备忘录读取用户外部存储中的媒体文件信息"
|
||||
},
|
||||
{
|
||||
"name": "media_location_permission",
|
||||
"value": "用于备忘录访问用户媒体文件中的地理位置信息"
|
||||
},
|
||||
{
|
||||
"name": "distributed_dataSync_permission",
|
||||
"value": "用于备忘录进行不同设备间的数据交换"
|
||||
}
|
||||
]
|
||||
}
|
@ -25,16 +25,16 @@
|
||||
],
|
||||
"requestPermissions": [
|
||||
{
|
||||
"name": "ohos.permission.READ_MEDIA"
|
||||
"name": "ohos.permission.READ_MEDIA",
|
||||
"reason": "$string:read_media_permission"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.WRITE_MEDIA"
|
||||
"name": "ohos.permission.MEDIA_LOCATION",
|
||||
"reason": "$string:media_location_permission"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.MEDIA_LOCATION"
|
||||
},
|
||||
{
|
||||
"name": "ohos.permission.DISTRIBUTED_DATASYNC"
|
||||
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
|
||||
"reason": "$string:distributed_dataSync_permission"
|
||||
},
|
||||
],
|
||||
"deliveryWithInstall": true,
|
||||
|
16
product/tablet/src/main/resources/base/element/string.json
Normal file
16
product/tablet/src/main/resources/base/element/string.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"string": [
|
||||
{
|
||||
"name": "read_media_permission",
|
||||
"value": "Used to read media file information in external storage of users"
|
||||
},
|
||||
{
|
||||
"name": "media_location_permission",
|
||||
"value": "Used for memo access to geographic location information in user media files"
|
||||
},
|
||||
{
|
||||
"name": "distributed_dataSync_permission",
|
||||
"value": "Used for memo data exchange between different equipment"
|
||||
}
|
||||
]
|
||||
}
|
16
product/tablet/src/main/resources/zh_CN/element/string.json
Normal file
16
product/tablet/src/main/resources/zh_CN/element/string.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"string": [
|
||||
{
|
||||
"name": "read_media_permission",
|
||||
"value": "用于备忘录读取用户外部存储中的媒体文件信息"
|
||||
},
|
||||
{
|
||||
"name": "media_location_permission",
|
||||
"value": "用于备忘录访问用户媒体文件中的地理位置信息"
|
||||
},
|
||||
{
|
||||
"name": "distributed_dataSync_permission",
|
||||
"value": "用于备忘录进行不同设备间的数据交换"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user