Add permission to access vendor.ims property to vendor ims app

Vendor IMS Service read a SystemProperty starts with
persist.vendor.ims prefix, but it does not have a permission to
access it.
This change create a permission to access the SystemProperties start
with 'persist.vendor.ims.' prefix from vendor ims service.

Bug: 204714230
Test: Test results in b/225430461#comment40 enabling the property

Signed-off-by: Taesoon Park <ts89.park@samsung.com>
Change-Id: Ied50f377a3069eac65836ea999dfe021f4e4ed5d
This commit is contained in:
Taesoon Park 2022-03-11 13:17:43 +09:00 committed by Sateshk Kumar Chinnappan
parent 2dc6f70afc
commit 9211922e70
3 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,7 @@ vendor_internal_prop(vendor_nfc_prop)
vendor_internal_prop(vendor_secure_element_prop)
vendor_internal_prop(vendor_battery_profile_prop)
vendor_internal_prop(vendor_battery_defender_prop)
vendor_internal_prop(vendor_imssvc_prop)
vendor_internal_prop(vendor_camera_prop)
vendor_internal_prop(vendor_camera_debug_prop)
vendor_internal_prop(vendor_camera_fatp_prop)

View file

@ -100,3 +100,5 @@ ro.vendor.uwb.calibration. u:object_r:vendor_uwb_calibration_pro
# Dynamic sensor
vendor.dynamic_sensor. u:object_r:vendor_dynamic_sensor_prop:s0
# for ims service
persist.vendor.ims. u:object_r:vendor_imssvc_prop:s0

View file

@ -14,3 +14,4 @@ allow vendor_ims_app mediametrics_service:service_manager find;
binder_call(vendor_ims_app, rild)
set_prop(vendor_ims_app, vendor_rild_prop)
set_prop(vendor_ims_app, radio_prop)
get_prop(vendor_ims_app, vendor_imssvc_prop)