From a49f22144f4369b8d3c7b02d6a33b992e78b2d7a Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 9 Mar 2024 12:30:28 +0100 Subject: [PATCH] (Android) Removed symlink support --- es-core/src/utils/FileSystemUtil.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/es-core/src/utils/FileSystemUtil.cpp b/es-core/src/utils/FileSystemUtil.cpp index 588d5ca77..18ed8a6e9 100644 --- a/es-core/src/utils/FileSystemUtil.cpp +++ b/es-core/src/utils/FileSystemUtil.cpp @@ -1000,6 +1000,11 @@ namespace Utils bool isSymlink(const std::string& path) { +#if defined(__ANDROID__) + // Symlinks are generally not supported on Android due to the Storage Access Framework + // and the use of FAT/exFAT and NTFS filesystems. + return false; +#endif const std::string& genericPath {getGenericPath(path)}; try { #if defined(_WIN64)