Merge "Keep PRODUCT_FULL_TREBLE to true even when some requirements are not met"
am: 8a89848373
Change-Id: If19df9e3560456c2f69e2faa54fe3cbbb1c045cb
diff --git a/core/config.mk b/core/config.mk
index 96cc7b7..9983590 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -716,9 +716,6 @@
# PRODUCT_FULL_TREBLE
$(foreach req,$(requirements),$(eval \
$(req) := $(if $($(req)_OVERRIDE),$($(req)_OVERRIDE),$(PRODUCT_FULL_TREBLE))))
-# If the requirement is false for any reason, then it's not PRODUCT_FULL_TREBLE
-$(foreach req,$(requirements),$(eval \
- PRODUCT_FULL_TREBLE := $(if $(filter false,$($(req))),false,$(PRODUCT_FULL_TREBLE))))
.KATI_READONLY := \
$(requirements) \