audio: add a restricted property for audio app.
note: For app layer to access specific property, define persist.vendor.app.audio. and set it as restricted. Test: build pass Bug: 333497194 Change-Id: I397a1bcb9bd16c7fa236049eead30b6e17a996b5
This commit is contained in:
parent
2b710d7dbb
commit
92a659256f
@ -1,2 +1,5 @@
|
||||
# Audio
|
||||
vendor_internal_prop(vendor_audio_prop)
|
||||
|
||||
# The property for Audio App
|
||||
vendor_restricted_prop(vendor_audio_prop_restricted)
|
||||
|
@ -9,3 +9,6 @@ vendor.audiodump.encode.disable u:object_r:vendor_audio_prop:s0
|
||||
vendor.audiodump.log.cca.updated u:object_r:vendor_audio_prop:s0
|
||||
vendor.audiodump.cca.config u:object_r:vendor_audio_prop:s0
|
||||
vendor.audio_hal.aidl.enable u:object_r:vendor_audio_prop:s0
|
||||
|
||||
# for audio app
|
||||
persist.vendor.app.audio. u:object_r:vendor_audio_prop_restricted:s0
|
||||
|
@ -1,2 +1,5 @@
|
||||
# Audio property
|
||||
set_prop(vendor_init, vendor_audio_prop)
|
||||
|
||||
# Audio App property
|
||||
set_prop(vendor_init, vendor_audio_prop_restricted)
|
||||
|
Loading…
x
Reference in New Issue
Block a user