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