From 585c60c1404a9850388489ce6715dab14fe868c8 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Thu, 20 Jul 2023 07:31:55 +0000 Subject: [PATCH] AdvancedPrivacy: Add optional Library usage --- AdvancedPrivacy/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AdvancedPrivacy/Android.mk b/AdvancedPrivacy/Android.mk index 8b50b6c..9fae902 100644 --- a/AdvancedPrivacy/Android.mk +++ b/AdvancedPrivacy/Android.mk @@ -26,6 +26,10 @@ LOCAL_SRC_FILES := Advanced_Privacy-1.14.0-e-release.apk LOCAL_MODULE_CLASS := APPS LOCAL_REQUIRED_MODULES := privapp-permissions-foundation.e.advancedprivacy.xml LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX) +ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 31),) +LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions \ + androidx.window.sidecar +endif private_jni_libs := libgojni.so libmapbox-gl.so libtor.so libsentry.so libsentry-android.so LOCAL_PREBUILT_JNI_LIBS_arm := $(foreach lib,$(private_jni_libs), @$(LIB_PATH)/$(lib)) -- GitLab