From 1990000501bc83396b38374b712d9fedcf55066c Mon Sep 17 00:00:00 2001 From: Josh-YC Liu Date: Sat, 18 Jan 2020 10:04:41 +0800 Subject: [PATCH] [ALPS04010443] AAL: add set property in SELinux Add new AAL API for set function with property. MTK-Commit-Id: 9fa5437f96066104e04ebb655e39d24db2935080 Change-Id: Iab58a2ecd919ceadd9b8586d2b52720c176ded01 CR-Id: ALPS04010443 Feature: Ambient Light Adaptive Luma --- non_plat/property.te | 1 - non_plat/property_contexts | 1 - non_plat/radio.te | 4 ---- 3 files changed, 6 deletions(-) diff --git a/non_plat/property.te b/non_plat/property.te index 07a88c5..bf05872 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -240,7 +240,6 @@ type mtk_rat_config_prop, property_type, mtk_core_property_type; #=============mtk aal property============= type mtk_aal_ro_prop, property_type, mtk_core_property_type; -type mtk_aal_prop, property_type, mtk_core_property_type; #=============mtk pq property============= type mtk_pq_ro_prop, property_type, mtk_core_property_type; diff --git a/non_plat/property_contexts b/non_plat/property_contexts index d9df879..ac7f760 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -242,7 +242,6 @@ ro.vendor.mtk_protocol1_rat_config u:object_r:mtk_rat_config_prop:s0 ro.vendor.mtk_aal_support u:object_r:mtk_aal_ro_prop:s0 ro.vendor.mtk_ultra_dimming_support u:object_r:mtk_aal_ro_prop:s0 ro.vendor.mtk_dre30_support u:object_r:mtk_aal_ro_prop:s0 -persist.vendor.sys.aal. u:object_r:mtk_aal_prop:s0 #=============allow mtk pq==============# persist.vendor.sys.pq. u:object_r:mtk_pq_prop:s0 diff --git a/non_plat/radio.te b/non_plat/radio.te index bba31d4..35006e6 100644 --- a/non_plat/radio.te +++ b/non_plat/radio.te @@ -170,10 +170,6 @@ allow radio sysfs_pmu:lnk_file { read }; # Purpose : mtk EM Power debug_log setting allow radio sysfs_spm:dir { search }; -# Date : 2018/06/15 -# Purpose : Allow EM access AAL settings -get_prop(radio, mtk_aal_prop) - # Date : 2018/06/15 # Purpose: Allow EM detect Audio headset status allow radio sysfs_headset:file { read open };