redfin: Fix gapps selection based on WITH_GMS flag

Fix an issue where some packages are not properly configured due to
WITH_GMS environment variable not being explicitly set.
This commit is contained in:
Apelete Seketeli
2025-11-18 17:36:39 +01:00
parent 0bfc4d1a60
commit 7aca1afd17

View File

@@ -27,10 +27,15 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
BuildFingerprint=google/redfin/redfin:14/UP1A.231105.001.B2/11260668:user/release-keys \
DeviceProduct=redfin
ifeq ($(WITH_GMS),true)
ifeq ($(WITH_GMS),false)
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/OmniStyle/OmniStyle.apk
else
TARGET_USES_MINI_GAPPS := true
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/OmniStyle/OmniStyle.apk \
system/app/GoogleExtShared/GoogleExtShared.apk \
system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk \
system/etc/permissions/privapp-permissions-google.xml \
@@ -38,7 +43,4 @@ PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/TagGoogle/TagGoogle.apk
endif
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/priv-app/OmniStyle/OmniStyle.apk
$(call inherit-product, vendor/google/redfin/redfin-vendor.mk)