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
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