commit | 7429882fbaef0d0476967283b717c0f9fef02e5a | [log] [tgz] |
---|---|---|
author | Chia-Chi Teng <ccteng@google.com> | Mon Mar 25 13:09:33 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Mar 25 13:09:33 2024 +0000 |
tree | 4fa4b15b6750127694dd16acb691483da4c6d325 | |
parent | ec93f458c61b5daa3be4eac077379ba8c61244af [diff] | |
parent | 9a7af460a56a92a9ed2bad173d58f40547eb564c [diff] |
sepolicy: Allow PixelGnss to connect to Chre HAL am: 9a7af460a5 Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26617900 Change-Id: If756d3473fa9b6ac556a16766220033c2fd53e63 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/gps/pixel/sepolicy/hal_gnss_pixel.te b/gps/pixel/sepolicy/hal_gnss_pixel.te index 512ecc9..0d9a8b5 100644 --- a/gps/pixel/sepolicy/hal_gnss_pixel.te +++ b/gps/pixel/sepolicy/hal_gnss_pixel.te
@@ -12,3 +12,10 @@ #Toggle coredump node allow hal_gnss_pixel sysfs_gps:file rw_file_perms; + +# Allow access to CHRE multiclient HAL. +get_prop(hal_gnss_pixel, vendor_chre_hal_prop) + +# Allow binder to CHRE. +binder_call(hal_gnss_pixel, hal_contexthub_default) +allow hal_gnss_pixel hal_contexthub_service:service_manager find;