Allow pixelstats hal to talk to the new AIDL sensorservice

This is being used in libsensorndkbridge now, so permissions are
required.

Test: m
Bug: 205764765
Change-Id: Ife9688c62398bef83ae5636e915568658098e12d
This commit is contained in:
Devin Moore 2022-12-19 23:03:58 +00:00
parent 72a65a0100
commit 691897a0bf

View file

@ -13,6 +13,9 @@ allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
get_prop(pixelstats_vendor, hwservicemanager_prop);
hwbinder_use(pixelstats_vendor);
allow pixelstats_vendor fwk_sensor_hwservice:hwservice_manager find;
# android.frameworks.sensorservice through libsensorndkbridge
allow pixelstats_vendor fwk_sensor_service:service_manager find;
# Batery history
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;