(Android) Removed symlink support

This commit is contained in:
Leon Styhre 2024-03-09 12:30:28 +01:00
parent 630ff4a0d7
commit a49f22144f

View file

@ -1000,6 +1000,11 @@ namespace Utils
bool isSymlink(const std::string& path) 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)}; const std::string& genericPath {getGenericPath(path)};
try { try {
#if defined(_WIN64) #if defined(_WIN64)