summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Blanchard <joshua.lee.bbg@gmail.com>2021-03-06 18:41:33 -0500
committerJoshua Blanchard <joshua.lee.bbg@gmail.com>2021-03-06 19:46:51 -0500
commitd13d4fa2f9e7fe42af785b53491848b83f27d89b (patch)
tree589efe9b2b69aff4a1ca05244e5b9d63eaddf693
parenta5640c3765ab65bd779a1c2b1579c01428e6b8bb (diff)
sepolicy: common: Move Moto Health HAL to dynamic policy
- Seems hwservice_contexts in public policy gets ignored. Move IMotHealth to dynamic policy which should fix the denial for all scenarios. Change-Id: I9632c745a55dc7c95255e4f735190b90241a311c
-rw-r--r--common/dynamic/hwservice_contexts1
-rw-r--r--common/public/hwservice_contexts1
2 files changed, 1 insertions, 1 deletions
diff --git a/common/dynamic/hwservice_contexts b/common/dynamic/hwservice_contexts
index d4fe47e..60ce3d8 100644
--- a/common/dynamic/hwservice_contexts
+++ b/common/dynamic/hwservice_contexts
@@ -1,3 +1,4 @@
+motorola.hardware.health::IMotHealth u:object_r:hal_health_hwservice
vendor.lineage.biometrics.fingerprint.inscreen::IFingerprintInscreen u:object_r:hal_lineage_fod_hwservice:s0
vendor.lineage.camera.motor::ICameraMotor u:object_r:hal_lineage_camera_motor_hwservice:s0
vendor.lineage.fastcharge::IFastCharge u:object_r:hal_lineage_fastcharge_hwservice:s0
diff --git a/common/public/hwservice_contexts b/common/public/hwservice_contexts
deleted file mode 100644
index c5e9e7d..0000000
--- a/common/public/hwservice_contexts
+++ /dev/null
@@ -1 +0,0 @@
-motorola.hardware.health::IMotHealth u:object_r:hal_health_hwservice:s0