diff --git a/vendor/gnssd.te b/vendor/gnssd.te index ad92dcd..487bcbb 100644 --- a/vendor/gnssd.te +++ b/vendor/gnssd.te @@ -19,3 +19,8 @@ wakelock_use(gnssd) # Allow a base set of permissions required for network access. net_domain(gnssd); + +# Allow gnssd to get boot complete +get_prop(gnssd, bootanim_system_prop) + +allow gnssd sysfs_soc:file r_file_perms; diff --git a/vendor/hal_gnss_default.te b/vendor/hal_gnss_default.te new file mode 100644 index 0000000..f6e28dd --- /dev/null +++ b/vendor/hal_gnss_default.te @@ -0,0 +1,2 @@ +allow hal_gnss_default fwk_sensor_service:service_manager find; +allow hal_gnss_default gnssd:unix_stream_socket connectto;