From 7aca1afd17ed9cfd288c89c8ddc4e4a8c2e98e3d Mon Sep 17 00:00:00 2001 From: Apelete Seketeli Date: Tue, 18 Nov 2025 17:36:39 +0100 Subject: [PATCH] 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. --- lineage_redfin.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lineage_redfin.mk b/lineage_redfin.mk index 1230097..b2b4b35 100644 --- a/lineage_redfin.mk +++ b/lineage_redfin.mk @@ -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)