From 85a6137a28b12868d56490790e7fa907d1518be8 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Mon, 8 Jul 2019 22:17:09 +0530 Subject: [PATCH] msm8974-common: Add gatekeeper software HIDL service. Use the default software implementation of gatekeeper. Change-Id: Id696752ad78047155cad6a5dafe7ca1b4fe86345 Signed-off-by: Amit Pundir --- msm8974.mk | 4 ++++ sepolicy/common/file_contexts | 1 + 2 files changed, 5 insertions(+) diff --git a/msm8974.mk b/msm8974.mk index 4ce5f7f..e78485c 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -99,6 +99,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ fastbootd +# Gatekeeper +PRODUCT_PACKAGES += \ + android.hardware.gatekeeper@1.0-service.software + # GPS PRODUCT_PACKAGES += \ android.hardware.gnss@1.0-impl.legacy \ diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index c282bc8..dd86ad6 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -23,6 +23,7 @@ # executeables /system/vendor/bin/macloader u:object_r:macloader_exec:s0 +/(vendor|system/vendor)/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.samsung u:object_r:hal_ir_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0