From d799f2f773eebb5d4787fdf54518ac2416e217a6 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 5 Jan 2022 14:57:31 -0800 Subject: [PATCH] Implement health AIDL HAL. Test: VTS Test: manual charger mode Test: recovery Bug: 213273090 Change-Id: I823e202f8877ad04e7fb5508358682bc6458f7c1 --- gs201-sepolicy.mk | 3 +++ health/file_contexts | 1 + 2 files changed, 4 insertions(+) create mode 100644 health/file_contexts diff --git a/gs201-sepolicy.mk b/gs201-sepolicy.mk index 7ab4a233..664b851f 100644 --- a/gs201-sepolicy.mk +++ b/gs201-sepolicy.mk @@ -18,3 +18,6 @@ BOARD_SEPOLICY_DIRS += device/google/gs201-sepolicy/dauntless # PowerStats HAL BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats + +# Health HAL +BOARD_SEPOLICY_DIRS += device/google/gs201-sepolicy/health diff --git a/health/file_contexts b/health/file_contexts new file mode 100644 index 00000000..909de880 --- /dev/null +++ b/health/file_contexts @@ -0,0 +1 @@ +/vendor/bin/hw/android\.hardware\.health-service\.gs201 u:object_r:hal_health_default_exec:s0