[ALPS04417009] Enable SELinux Property

vendor.debug.sf.hdr_enable

MTK-Commit-Id: 166ff42973f20061b1a449115ca4b7a6e5663a68

Change-Id: I04b02f334dd51821698a9875e010a92d4d6a1c2b
CR-Id: ALPS04417009
Feature: [Module]SurfaceFlinger/HWComposer
This commit is contained in:
mtk14318 2020-01-18 10:17:01 +08:00
parent 81bde14096
commit 0a8da1b15e
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)