Merge "[ALPS04417009] Enable SELinux Property" into alps-trunk-q0.basic

Change-Id: Ia639e07701be7ae8747c916d618e5ff2da7463ef
MTK-Commit-Id: a71e95eb3d9482066514f71d2731c169bdeaba8c
This commit is contained in:
Shanshan Guo 2020-01-18 10:17:04 +08:00 committed by Gerrit Code Review
commit 1e529a7fb6
4 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,7 @@ binder_call(hal_graphics_composer_default, mtk_hal_power)
set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
set_prop(hal_graphics_composer_default, graphics_hwc_latch_unsignaled_prop)
set_prop(hal_graphics_composer_default, graphics_hwc_hdr_prop)
# Date : WK18.03
# Purpose: Allow to access property dev/mdp_sync

View File

@ -204,6 +204,7 @@ type mtk_thermal_config_prop, property_type;
#=============allow composer set property ============================
type graphics_hwc_pid_prop, property_type;
type graphics_hwc_latch_unsignaled_prop, property_type;
type graphics_hwc_hdr_prop, property_type;
#============= mtkcam property ============================
type mtkcam_prop, property_type;

View File

@ -208,6 +208,7 @@ vendor.thermal.manager.data u:object_r:mtk_thermal_config_prop:s0
#=============allow composer set property ============================
vendor.debug.sf.hwc_pid u:object_r:graphics_hwc_pid_prop:s0
vendor.debug.sf.latch_unsignaled u:object_r:graphics_hwc_latch_unsignaled_prop:s0
vendor.debug.sf.hdr_enable u:object_r:graphics_hwc_hdr_prop:s0
#============= atm modem mode property(ATM) ==============
persist.vendor.atm.mdmode u:object_r:atm_mdmode_prop:s0

View File

@ -77,3 +77,8 @@ allow surfaceflinger mdp_device:chr_file rw_file_perms;
# Purpose: Allow to access property dev/mdp_sync
#============= surfaceflinger ==============
allow surfaceflinger mtk_mdp_device:chr_file rw_file_perms;
# Date : WK18.43
# Operation : HDR
# Purpose: Allow to skip aosp hdr solution
get_prop(surfaceflinger, graphics_hwc_hdr_prop)