diff --git a/sdm660_64.mk b/sdm660_64.mk index f8c7a349..2528eeef 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -258,3 +258,15 @@ PRODUCT_PACKAGES += android.hardware.health@1.0-impl \ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml +#Enable QTI KEYMASTER and GATEKEEPER HIDLs +ifeq ($(ENABLE_VENDOR_IMAGE), true) +KMGK_USE_QTI_SERVICE := true +endif + +#Enable AOSP KEYMASTER and GATEKEEPER HIDLs +ifneq ($(KMGK_USE_QTI_SERVICE), true) +PRODUCT_PACKAGES += android.hardware.gatekeeper@1.0-impl \ + android.hardware.gatekeeper@1.0-service \ + android.hardware.keymaster@3.0-impl \ + android.hardware.keymaster@3.0-service +endif