Bug: 318310869 Bug: 315915958 Test: build pass, GPS works and no GPS avc denied error Change-Id: Ib2aa778a0d0e8a51f4d6733b6a55ccf588a05079
10 lines
417 B
Plaintext
10 lines
417 B
Plaintext
allow hal_gnss_default fwk_sensor_service:service_manager find;
|
|
allow hal_gnss_default gnssd:unix_stream_socket connectto;
|
|
allow hal_gnss_default vendor_gps_file:dir create_dir_perms;
|
|
allow hal_gnss_default vendor_gps_file:file create_file_perms;
|
|
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;
|
|
binder_call(hal_gnss_default, gnssd);
|
|
|
|
#Read GPS property
|
|
get_prop(hal_gnss_default, vendor_gps_prop)
|