From e546ba5bae773176505d14893b3cac4188ab83e9 Mon Sep 17 00:00:00 2001 From: Madhav Iyengar Date: Wed, 13 Nov 2024 00:21:07 +0000 Subject: [PATCH] Give ContextHub HAL access to AOC version Required to gate use of the new ContextHub HAL <-> CHRE transport on the availability of a bugfix in AOC. Bug: 378367295 Flag: android.chre.flags.efw_xport_in_context_hub Test: ... Change-Id: Ibd5e3d20b7e5c14ea2200d85c179a4e96eb3b65a --- chre/sepolicy/hal_contexthub_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chre/sepolicy/hal_contexthub_default.te b/chre/sepolicy/hal_contexthub_default.te index 87e3a42..50e7ca3 100644 --- a/chre/sepolicy/hal_contexthub_default.te +++ b/chre/sepolicy/hal_contexthub_default.te @@ -35,3 +35,6 @@ allow hal_contexthub_default self:global_capability2_class_set block_suspend; # Allow binder calls with clients binder_call(hal_contexthub_default, hal_sensors_default) + +# Allow access for AoC properties. +get_prop(hal_contexthub_default, vendor_aoc_prop)