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)
This commit is contained in:
kevios12 2022-04-08 16:40:55 +02:00 committed by GitHub
commit c90bfd800a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
# Call proprietary blob setup # Call proprietary blob setup
ifneq ($(findstring a20, $(TARGET_PRODUCT)),) ifneq ($(findstring a20, $(TARGET_PRODUCT)),)
$(call inherit-product, vendor/samsung/universal7885-common/universal7885-common-vendor.mk) $(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 endif
# Build Fingerprints # Build Fingerprints
@ -87,9 +89,11 @@ PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.3-service.samsung android.hardware.biometrics.fingerprint@2.3-service.samsung
endif endif
ifeq ($(findstring a40, $(TARGET_PRODUCT)),)
# Samsung FMRadio impl # Samsung FMRadio impl
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
FMRadio FMRadio
endif
# Gatekeeper # Gatekeeper
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \