From c90bfd800af437cb3f9543eec572bc975b298b43 Mon Sep 17 00:00:00 2001 From: kevios12 Date: Fri, 8 Apr 2022 16:40:55 +0200 Subject: [PATCH] universal7885: don't build FMRadio for A40 and add universal7904-vendor back due to vendor (audio) problems, the universal7904 vendor was included again and fm radio is not built for the a40 for this reason (routing, low quality problems) --- universal7885-common/universal7885-common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/universal7885-common/universal7885-common.mk b/universal7885-common/universal7885-common.mk index 933dfd2..5a985ef 100644 --- a/universal7885-common/universal7885-common.mk +++ b/universal7885-common/universal7885-common.mk @@ -1,6 +1,8 @@ # Call proprietary blob setup ifneq ($(findstring a20, $(TARGET_PRODUCT)),) $(call inherit-product, vendor/samsung/universal7885-common/universal7885-common-vendor.mk) +else ifneq ($(findstring a40, $(TARGET_PRODUCT)),) +$(call inherit-product, vendor/samsung/universal7904-common/universal7904-common-vendor.mk) endif # Build Fingerprints @@ -87,9 +89,11 @@ PRODUCT_PACKAGES += \ android.hardware.biometrics.fingerprint@2.3-service.samsung endif +ifeq ($(findstring a40, $(TARGET_PRODUCT)),) # Samsung FMRadio impl PRODUCT_PACKAGES += \ FMRadio +endif # Gatekeeper PRODUCT_PACKAGES += \