提交 f9c3d2fe 编写于 作者: Q q00313334

add wifi permission

Signed-off-by: Nq00313334 <quanli1@huawei.com>
上级 d4a9e27f
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册