bugfix:add permission for NI and unify string translation

Signed-off-by: 李文龙 <liwenlong22@huawei.com>
This commit is contained in:
李文龙 2024-09-03 09:17:46 +08:00
parent f87ce00e36
commit 792b12537b
3 changed files with 5 additions and 4 deletions

View File

@ -37,7 +37,8 @@
"ohos.permission.INTERNET", "ohos.permission.INTERNET",
"ohos.permission.GET_NETWORK_INFO", "ohos.permission.GET_NETWORK_INFO",
"ohos.permission.RECEIVE_SMS", "ohos.permission.RECEIVE_SMS",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS" "ohos.permission.MANAGE_LOCAL_ACCOUNTS",
"ohos.permission.READ_CALL_LOG"
], ],
"permission_acls" : ["ohos.permission.GET_SENSITIVE_PERMISSIONS"], "permission_acls" : ["ohos.permission.GET_SENSITIVE_PERMISSIONS"],
"critical" : [0, 5, 10], "critical" : [0, 5, 10],

View File

@ -34,7 +34,7 @@
}, },
{ {
"name": "ni_notify_title", "name": "ni_notify_title",
"value": "Location Request" "value": "Location request"
}, },
{ {
"name": "ni_notify_message", "name": "ni_notify_message",
@ -54,7 +54,7 @@
}, },
{ {
"name": "location_target_statement_content", "name": "location_target_statement_content",
"value": "Location Services requires an Internet connection and uses GNSS or network information (WLAN, cellular network, Bluetooth, IP) to provide you with location-based services. When enabled, the device's location information will be shared with services that have been granted location permissions. Your location information will also be used for system services, such as updating time zone, emergency calls." "value": "Location Services requires an Internet connection and uses GNSS or network information (WLAN, cellular network, Bluetooth, IP) to provide you with location-based services. When this is enabled, your device's location information will be shared with services that have been granted location access. Your location information will also be used by system services, for purposes such as updating your time zone and emergency calls."
}, },
{ {
"name": "LocationPrivacyExtAbility_label", "name": "LocationPrivacyExtAbility_label",

View File

@ -42,7 +42,7 @@
}, },
{ {
"name": "location_target_statement_content", "name": "location_target_statement_content",
"value": "“定位服务”联网并使用GNSS或网络信息(WLAN、蜂窝网络、蓝牙、IP)为您提供基于位置的服务。启用后,设备的位置信息会被分享给已授予定位权限的服务。您的位置信息也将用于系统服务,如更新时区、紧急呼叫等。" "value": "“定位服务”联网并使用 GNSS 或网络信息 (WLAN、蜂窝网络、蓝牙、IP) 为您提供基于位置的服务。启用后,设备的位置信息会被分享给已授予定位权限的服务。您的位置信息也将用于系统服务,如更新时区、紧急呼叫等。"
}, },
{ {
"name": "LocationPrivacyExtAbility_desc", "name": "LocationPrivacyExtAbility_desc",