mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Wrong condition added in commit 5dd3d02052
This commit is contained in:
@@ -106,7 +106,7 @@ public class StorageHelper {
|
||||
}
|
||||
if (!path.startsWith("/storage/emulated") || dirs.length == 1) {
|
||||
if (!paths.contains(path) && !paths.contains(path2)) {
|
||||
if (mounts != null || mounts.contains(path) || mounts.contains(path2))
|
||||
if (mounts == null || mounts.contains(path) || mounts.contains(path2))
|
||||
list.add(0, new StorageInfo(path, false, true, cur_removable_number++));
|
||||
paths.add(path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user