From 5521fb530c0f2d157e27c2ffb3515dd9bc693ce7 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 5 Jan 2022 23:08:07 -0800 Subject: [PATCH] Implement health AIDL HAL. Test: VTS Test: manual charger mode Test: recovery Bug: 213273090 Change-Id: Iabaf31644f4406092a881841fb4084499fb4de89 --- gs101-sepolicy.mk | 3 +++ health/file_contexts | 1 + 2 files changed, 4 insertions(+) create mode 100644 health/file_contexts diff --git a/gs101-sepolicy.mk b/gs101-sepolicy.mk index d8b19689..d33fcd4e 100644 --- a/gs101-sepolicy.mk +++ b/gs101-sepolicy.mk @@ -36,3 +36,6 @@ PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/gs101-sepolicy/public ifeq ($(TARGET_PKVM_ENABLED),true) BOARD_SEPOLICY_DIRS += device/google/gs101-sepolicy/pkvm endif + +# Health HAL +BOARD_SEPOLICY_DIRS += device/google/gs101-sepolicy/health diff --git a/health/file_contexts b/health/file_contexts new file mode 100644 index 00000000..55321741 --- /dev/null +++ b/health/file_contexts @@ -0,0 +1 @@ +/vendor/bin/hw/android\.hardware\.health-service\.gs101 u:object_r:hal_health_default_exec:s0