Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b115c76 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Do not ship ih8sn on user build

Indeed, some security SDK in 3rd party apps can detect it
parent e33a822b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -45,6 +45,12 @@ PRODUCT_COPY_FILES += \
    $(VENDOR_PATH)/config/permissions/eos-permissions.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/eos-permissions.xml \
    $(VENDOR_PATH)/config/permissions/eos-allowlist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/eos-allowlist.xml

ifneq ($(filter user,$(TARGET_BUILD_VARIANT)),)
  # Do not include ih8sn on user build. 
  # Indeed, some security SDKs included in 3rd party apps can detect it.
  INCLUDE_IH8SN ?= false
endif

# SafetyNet compatibility
ifneq ($(filter official community partner,$(RELEASE_TYPE)),)
  # Ship ih8sn on community & official builds