Add legacy apache http lib as optional lib for GmsCore

This commit is contained in:
Andres 2023-01-15 16:32:33 +01:00 committed by GitHub
parent ef61110da3
commit 6f5277dcc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 # these lines will break builds before 19.1 so make them conditional
ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),) ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),)
LOCAL_USES_LIBRARIES := com.android.location.provider 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 endif
LOCAL_PRODUCT_MODULE := true LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT) include $(BUILD_PREBUILT)