From 6f5277dcc9b0f8f7830cea4697e57b57c07eee35 Mon Sep 17 00:00:00 2001 From: Andres Date: Sun, 15 Jan 2023 16:32:33 +0100 Subject: [PATCH] Add legacy apache http lib as optional lib for GmsCore --- GmsCore/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GmsCore/Android.mk b/GmsCore/Android.mk index 4e63729..34bc76e 100644 --- a/GmsCore/Android.mk +++ b/GmsCore/Android.mk @@ -33,7 +33,7 @@ LOCAL_REQUIRED_MODULES := privapp-permissions-com.google.android.gms.xml default # these lines will break builds before 19.1 so make them conditional ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),) LOCAL_USES_LIBRARIES := com.android.location.provider -LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions androidx.window.sidecar +LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy androidx.window.extensions androidx.window.sidecar endif LOCAL_PRODUCT_MODULE := true include $(BUILD_PREBUILT)