[ALPS04817575] Add system property only for MTK system image

[Solution]
When run VTS test, theres no WOS module due to its AOSP system image.
So we need to skip the edpg related function.

MTK-Commit-Id: 8f8e5faded18d6bcee1eb96dba37a2d708f3995f

Change-Id: I9cee39eea1dd75bccf6cc442f16ed3fe4e72ae95
CR-Id: ALPS04817575
Feature: WiFi Calling Service
This commit is contained in:
Sheldon Wang 2020-01-18 10:21:38 +08:00 committed by Sheldon Wang (王思諭)
parent e164a5e7e6
commit 1482d6d9af
4 changed files with 18 additions and 1 deletions

View File

@ -130,3 +130,8 @@ allow mtkrild nvdata_file:file create_file_perms;
# Operation: P migration
# Purpose: Allow supplementary service HIDL to set vendor property
set_prop(mtkrild, mtk_ss_vendor_prop)
# Date : WK19.43
# Purpose: Allow wfc module from rild read system property from wfc module
get_prop(mtkrild, mtk_wfc_serv_prop)

View File

@ -323,3 +323,7 @@ type mtk_hdmi_prop, property_type, mtk_core_property_type;
#=============mtk nn option property=============
type mtk_nn_option_prop, property_type;
#============system wfc service property===========
type mtk_wfc_serv_prop, property_type;

View File

@ -364,3 +364,6 @@ persist.vendor.sys.hdmi_hidl. u:object_r:mtk_hdmi_prop:s0
#=============mtk nn option==============#
ro.vendor.mtk_nn.option u:object_r:mtk_nn_option_prop:s0
#============system wfc service property===========
persist.vendor.wfc. u:object_r:mtk_wfc_serv_prop:s0

View File

@ -157,4 +157,9 @@ allow rild self:netlink_netfilter_socket { create_socket_perms_no_ioctl };
# Date : 2019/08/29
# Purpose: Allow rild to access proc/aed/reboot-reason
allow rild proc_aed_reboot_reason:file rw_file_perms;
allow rild proc_aed_reboot_reason:file rw_file_perms;
# Date : WK19.43
# Purpose: Allow wfc module from rild read system property from wfc module
get_prop(rild, mtk_wfc_serv_prop)