diff --git a/tracking_denials/hal_sensors_default.te b/tracking_denials/hal_sensors_default.te deleted file mode 100644 index 8bff1569..00000000 --- a/tracking_denials/hal_sensors_default.te +++ /dev/null @@ -1,6 +0,0 @@ -# b/214473093 -dontaudit hal_sensors_default sensor_reg_data_file:file { getattr }; -dontaudit hal_sensors_default sensor_reg_data_file:file { open }; -dontaudit hal_sensors_default sensor_reg_data_file:file { read }; -# b/218930975 -dontaudit hal_sensors_default hal_graphics_composer_default:binder { call }; diff --git a/whitechapel_pro/hal_sensors_default.te b/whitechapel_pro/hal_sensors_default.te index 7ad1d715..a29bb730 100644 --- a/whitechapel_pro/hal_sensors_default.te +++ b/whitechapel_pro/hal_sensors_default.te @@ -25,6 +25,7 @@ r_dir_file(hal_sensors_default, persist_camera_file) # Allow creation and writing of sensor registry data files. allow hal_sensors_default sensor_reg_data_file:dir r_dir_perms; +allow hal_sensors_default sensor_reg_data_file:file r_file_perms; # Allow access to the display info for ALS. allow hal_sensors_default sysfs_display:file rw_file_perms;