From 15cc1bf62044dffd51c802521e000f02ed4cd013 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Mon, 8 Jul 2019 22:17:09 +0530 Subject: [PATCH] universal7580: Add gatekeeper software HIDL service. Use the default software implementation of gatekeeper. Change-Id: Id696752ad78047155cad6a5dafe7ca1b4fe86345 Signed-off-by: Amit Pundir --- device-common.mk | 4 ++++ sepolicy/file_contexts | 3 +++ 2 files changed, 7 insertions(+) diff --git a/device-common.mk b/device-common.mk index 503924e..a7d19a6 100644 --- a/device-common.mk +++ b/device-common.mk @@ -85,6 +85,10 @@ PRODUCT_PACKAGES += \ android.hardware.health@2.0-impl \ android.hardware.health@2.0-service +# Gatekeeper +PRODUCT_PACKAGES += \ + android.hardware.gatekeeper@1.0-service.software + # Keymaster PRODUCT_PACKAGES += \ keystore.exynos5 \ diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 7ceb0ea..2f0f501 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -168,3 +168,6 @@ /(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\.biometrics\.fingerprint@2\.1-service\.samsung u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service\.exynos u:object_r:hal_power_default_exec:s0 + +# Gatekeeper +/(vendor|system/vendor)/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 -- 2.20.1