diff --git a/sepolicy/vendor/cnd.te b/sepolicy/vendor/cnd.te index d7aa8103..087017ac 100644 --- a/sepolicy/vendor/cnd.te +++ b/sepolicy/vendor/cnd.te @@ -34,3 +34,5 @@ userdebug_or_eng(` allow cnd diag_device:chr_file rw_file_perms; ') dontaudit cnd diag_device:chr_file rw_file_perms; + +get_prop(cnd, wifi_hal_prop) diff --git a/sepolicy/vendor/hal_power_stats_default.te b/sepolicy/vendor/hal_power_stats_default.te index 5c773db3..d3056de9 100644 --- a/sepolicy/vendor/hal_power_stats_default.te +++ b/sepolicy/vendor/hal_power_stats_default.te @@ -1,7 +1,7 @@ # power.stats HAL needs access to rpm, and wlan sysfs nodes in /d/ r_dir_file(hal_power_stats_default, debugfs_rpm) r_dir_file(hal_power_stats_default, debugfs_wlan) -get_prop(hal_power_stats_default, exported_wifi_prop) # Needed to detect wifi on/off +get_prop(hal_power_stats_default, wifi_hal_prop) # Needed to detect wifi on/off # power.stats HAL needs access to the easel sysfs node r_dir_file(hal_power_stats_default, sysfs_easel) diff --git a/sepolicy/vendor/location.te b/sepolicy/vendor/location.te index 02f8d4a1..aaf5a847 100644 --- a/sepolicy/vendor/location.te +++ b/sepolicy/vendor/location.te @@ -47,3 +47,5 @@ allow location location_data_file:{ file sock_file } create_file_perms; userdebug_or_eng(` allow location diag_device:chr_file rw_file_perms; ') + +get_prop(location, wifi_hal_prop)