diff --git a/sepolicy/common/mediaprovider.te b/sepolicy/common/mediaprovider.te index 65ce0b8..e287705 100644 --- a/sepolicy/common/mediaprovider.te +++ b/sepolicy/common/mediaprovider.te @@ -1,2 +1,4 @@ allow mediaprovider cache_private_backup_file:dir getattr; allow mediaprovider cache_recovery_file:dir r_dir_perms; + +allow mediaprovider mnt_media_rw_file:dir getattr; diff --git a/sepolicy/common/property_contexts b/sepolicy/common/property_contexts index 05f3ea1..b5a3878 100644 --- a/sepolicy/common/property_contexts +++ b/sepolicy/common/property_contexts @@ -1 +1,2 @@ service.camera.hdmi_preview u:object_r:camera_prop:s0 +wifi.active.interface u:object_r:exported_wifi_prop:s0 diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk index ff3265b..f86bb90 100644 --- a/sepolicy/sepolicy.mk +++ b/sepolicy/sepolicy.mk @@ -15,5 +15,6 @@ # include device/qcom/sepolicy-legacy/sepolicy.mk + BOARD_SEPOLICY_DIRS += \ device/samsung/msm8226-common/sepolicy/common