Move sensors_hal_socket to the sensor hal.
This was formally attributed to system_server because the hal
was there. It is now properly attributed to the hal server. If
that hal is untrebilized, this sepolicy is still good and the
attribute hal_sensors_server is applied to system_server.
This also removes one of the Treble system/vendor neverallows
that is tripped when PRODUCT_SEPOLICY_SPLIT is enabled.
Bug: 71707530
Test: boot and check logs (/var/run currently doesn't exist,
but the sensors hal is looking at it).
Change-Id: I5123e8543a3277fd225a0203764cd6e03a73bea2
2 files changed