summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2019-07-08 22:17:09 +0530
committerJulian Veit <claymore1298@gmail.com>2020-12-08 17:18:02 +0100
commitaa10c23575287d57bafb85b6632a6561afb55c2e (patch)
tree63f164377e98f1141742794522639fe1b63cd3bf
parentd5dcea7a0a5b9df22f834ceaf5554110737139c6 (diff)
msm8974-common: Add gatekeeper software HIDL service.r11.0
Use the default software implementation of gatekeeper. Change-Id: Id696752ad78047155cad6a5dafe7ca1b4fe86345 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--msm8974-common.mk4
-rw-r--r--sepolicy/file_contexts1
2 files changed, 5 insertions, 0 deletions
diff --git a/msm8974-common.mk b/msm8974-common.mk
index a1948a0..81232a2 100644
--- a/msm8974-common.mk
+++ b/msm8974-common.mk
@@ -154,6 +154,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
liblog_htc
+# Gatekeeper
+PRODUCT_PACKAGES += \
+ android.hardware.gatekeeper@1.0-service.software
+
# GPS
PRODUCT_PACKAGES += \
android.hardware.gnss@1.0-impl.legacy \
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 0bda041..09650f2 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -36,6 +36,7 @@
/sys/kernel/fast_charge/force_fast_charge u:object_r:sysfs_fastcharger:s0
# HALs
+/system/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
/system/vendor/bin/hw/android\.hardware\.light@2\.0-service\.htc_msm8974 u:object_r:hal_light_default_exec:s0
# Recovery