[ALPS03950289] Add permission to access GPS properties

[Detail]
Add selinux permissions to access GPS vendor system peroperties.

MTK-Commit-Id: aa97b76d646e13029488cae3aa0feb73a389675c

Change-Id: Icd41d074b1b620f70e5a68c3c02719f773cf2b2f
CR-Id: ALPS03950289
Feature: Location AOSP
This commit is contained in:
Jason Su 2020-01-18 09:58:10 +08:00
parent 2e09db7248
commit b2d6377d9c
3 changed files with 10 additions and 0 deletions

View File

@ -195,3 +195,6 @@ type mtk_ct_volte_prop, property_type, mtk_core_property_type;
#=============mtk ril mode property=============
type mtk_ril_mode_prop, property_type, mtk_core_property_type;
#=============GPS support properties==============
type mtk_gps_support_prop, property_type, mtk_core_property_type;

View File

@ -213,3 +213,9 @@ persist.vendor.mtk_ct_volte_support u:object_r:mtk_ct_volte_prop:s0
#============Label mtk ril mode=======#
ro.vendor.mtk_ril_mode u:object_r:mtk_ril_mode_prop:s0
#=============GPS support properties==============
ro.vendor.mtk_gps_support u:object_r:mtk_gps_support_prop:s0
ro.vendor.mtk_agps_app u:object_r:mtk_gps_support_prop:s0
ro.vendor.mtk_log_hide_gps u:object_r:mtk_gps_support_prop:s0
ro.vendor.mtk_hidl_consolidation u:object_r:mtk_gps_support_prop:s0

View File

@ -25,3 +25,4 @@ set_prop(vendor_init, persist_mtk_aee_prop)
set_prop(vendor_init, ro_mtk_aee_prop)
set_prop(vendor_init, vendor_usb_prop)
set_prop(vendor_init, mtk_ct_volte_prop)
set_prop(vendor_init, mtk_gps_support_prop)