sepolicy: Allow PixelGnss to connect to Chre HAL

avc:  denied  { call } for  scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0

Bug: 330120749
Test: Verify PixelGnss HAL can connect to Chre HAL.
Test: Function test verification b/330120749.
Test: b/330120749#comment24 health boot check.
Test: b/330120749#comment25 health boot check.
Change-Id: I051cc19407ba168fadea4d51ed4aa1527e414bb7
This commit is contained in:
Cheng Chang 2024-04-01 08:14:30 +00:00
parent c989d47ad9
commit c4d1594131

3
vendor/hal_contexthub_default.te vendored Normal file
View file

@ -0,0 +1,3 @@
# Allow binder call to PixelGnss PPS function.
binder_call(hal_contexthub_default, hal_gnss_pixel)