diff --git a/AdvancedPrivacy/Android.mk b/AdvancedPrivacy/Android.mk index 8b50b6cf734254613474150a9f7b94c44c296d5b..9fae90237cabbfbfb2caacb874253e223a8b826e 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))