mirror of
https://gitee.com/openharmony/security_permission
synced 2024-10-07 10:13:22 +00:00
add audio capturer service
Signed-off-by: starfish002 <shaoyuan.zhang@huawei.com>
This commit is contained in:
parent
5f18c3483e
commit
450d74082b
@ -292,6 +292,19 @@ FeaturePolicy recorderFeature[] = {
|
||||
},
|
||||
};
|
||||
|
||||
FeaturePolicy audioCapturerFeature[] = {
|
||||
{
|
||||
NULL,
|
||||
{
|
||||
{
|
||||
.type=RANGE,
|
||||
.uidMin=0,
|
||||
.uidMax=__INT_MAX__,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
FeaturePolicy devAuthFeature[] = {
|
||||
{
|
||||
NULL,
|
||||
@ -349,6 +362,7 @@ static PolicySetting g_presetPolicies[] = {
|
||||
{"PlayerServer", playerFeature, 1},
|
||||
{"CameraServer", cameraFeature, 1},
|
||||
{"RecorderServer", recorderFeature, 1},
|
||||
{"AudioCapServer", audioCapturerFeature, 1},
|
||||
{"devauth_svc", devAuthFeature, 1},
|
||||
{"battery_service", batteryFeature, 1},
|
||||
{"dev_mgr_svc", deviceManagerFeature, 1}
|
||||
|
Loading…
Reference in New Issue
Block a user